import { ActionIcon, Title, Tooltip, Drawer, Tabs, ScrollArea } from '@mantine/core'; import { useHotkeys } from '@mantine/hooks'; import { useState } from 'react'; import { IconSettings } from '@tabler/icons'; import { useTranslation } from 'next-i18next'; import CustomizationSettings from './CustomizationSettings'; import CommonSettings from './CommonSettings'; import Credits from './Credits'; function SettingsMenu() { const { t } = useTranslation('settings/common'); return ( {t('tabs.common')} {t('tabs.customizations')} ); } interface SettingsDrawerProps { opened: boolean; closeDrawer: () => void; } export function SettingsDrawer({ opened, closeDrawer }: SettingsDrawerProps) { const { t } = useTranslation('settings/common'); return ( {t('title')}} opened={opened} onClose={closeDrawer} > ); }