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 AdvancedSettings from './AdvancedSettings';
import CommonSettings from './CommonSettings';
import Credits from './Credits';
function SettingsMenu(props: any) {
const { t } = useTranslation('settings/common');
return (
{t('tabs.common')}
{t('tabs.customizations')}
);
}
export function SettingsMenuButton(props: any) {
useHotkeys([['ctrl+L', () => setOpened(!opened)]]);
const { t } = useTranslation('settings/common');
const [opened, setOpened] = useState(false);
return (
<>
{t('title')}}
opened={props.opened || opened}
onClose={() => setOpened(false)}
>
setOpened(true)}
>
>
);
}