import { FC, ReactNode } from "react"; // layout import { SidebarHamburgerToggle } from "@/components/core/sidebar/sidebar-menu-hamburger-toggle"; import { PreferencesMobileHeader } from "@/components/profile/preferences/preferences-mobile-header"; import { useAppTheme } from "@/hooks/store"; import { ProfileSettingsLayout } from "@/layouts/settings-layout"; // local components import { ProfilePreferenceSettingsSidebar } from "./sidebar"; interface IProfilePreferenceSettingsLayout { children: ReactNode; header?: ReactNode; } export const ProfilePreferenceSettingsLayout: FC = (props) => { const { children, header } = props; const { toggleSidebar } = useAppTheme(); return ( } >
{header}
{children}
); };