refactor: adjust setting dialog component

This commit is contained in:
GyDi
2022-11-20 21:48:39 +08:00
parent 3dbc54c8ae
commit 32b72f0ef6
23 changed files with 845 additions and 988 deletions

View File

@@ -8,7 +8,7 @@ interface Props {
onChange?: (value: ThemeValue) => void;
}
const ThemeModeSwitch = (props: Props) => {
export const ThemeModeSwitch = (props: Props) => {
const { value, onChange } = props;
const { t } = useTranslation();
@@ -29,5 +29,3 @@ const ThemeModeSwitch = (props: Props) => {
</ButtonGroup>
);
};
export default ThemeModeSwitch;