mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
17 lines
437 B
JavaScript
17 lines
437 B
JavaScript
import React from 'react';
|
|
import { Text, Toggle } from '@geist-ui/core';
|
|
|
|
const AppearanceSettings = ({ themeSettings, onThemeChange }) => {
|
|
return (
|
|
<div className="setting-group">
|
|
<Text h4>Appearance</Text>
|
|
<div className="setting-item">
|
|
<Text>Dark Mode</Text>
|
|
<Toggle checked={themeSettings === 'dark'} onChange={onThemeChange} />
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default AppearanceSettings;
|