Add growth option for the main appshelf

This commit is contained in:
ajnart
2022-11-30 09:00:29 +09:00
parent 37ae8e2356
commit da3e412c63
6 changed files with 42 additions and 12 deletions

View File

@@ -48,15 +48,11 @@ export function WidgetsPositionSwitch() {
};
return (
<Group>
<div className={classes.root}>
<Switch
checked={widgetPosition === 'left'}
onChange={() => toggleWidgetPosition()}
size="md"
/>
</div>
{t('label')}
</Group>
<Switch
label={t('label')}
checked={widgetPosition === 'left'}
onChange={() => toggleWidgetPosition()}
size="md"
/>
);
}