import { Box } from '@mantine/core'; import { Tabs } from '/@/renderer/components'; import type { Variants } from 'framer-motion'; import { AnimatePresence, motion } from 'framer-motion'; import { GeneralTab } from '/@/renderer/features/settings/components/general-tab'; import { PlaybackTab } from '/@/renderer/features/settings/components/playback-tab'; import { useSettingsStore, useSettingsStoreActions } from '/@/renderer/store/settings.store'; export const Settings = () => { const currentTab = useSettingsStore((state) => state.tab); const { setSettings } = useSettingsStoreActions(); const tabVariants: Variants = { in: { opacity: 1, transition: { duration: 0.3, }, x: 0, }, out: { opacity: 0, x: 50, }, }; return ( e && setSettings({ tab: e })} > General Playback ); };