mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
19 lines
640 B
TypeScript
19 lines
640 B
TypeScript
import { ScrollArea, Stack, Text } from '@mantine/core';
|
|
import { useViewportSize } from '@mantine/hooks';
|
|
import { useTranslation } from 'next-i18next';
|
|
import { CustomizationSettingsAccordeon } from './CustomizationAccordeon';
|
|
|
|
export default function CustomizationSettings() {
|
|
const { height } = useViewportSize();
|
|
const { t } = useTranslation('settings/customization/general');
|
|
|
|
return (
|
|
<ScrollArea style={{ height: height - 100 }} scrollbarSize={5}>
|
|
<Stack mt="xs" mb="md" spacing="xs">
|
|
<Text color="dimmed">{t('text')}</Text>
|
|
<CustomizationSettingsAccordeon />
|
|
</Stack>
|
|
</ScrollArea>
|
|
);
|
|
}
|