import { Menu, useMantineColorScheme } from "@mantine/core"; import { IconCode, IconMoon, IconRefresh, IconSun } from "@tabler/icons-react"; import { ReactNode } from "react"; export interface ISettingsProps { children: ReactNode; funtions?: { refresh?: () => void; }; } export default function Settings({ children, funtions }: ISettingsProps) { const openDevtools = () => { window.ipcRenderer?.openDevTools(); }; const {toggleColorScheme, colorScheme}= useMantineColorScheme() return (
); }