import { FC, ReactNode } from "react"; // layout import { ProfileSettingsLayout } from "layouts/settings-layout"; import { ProfilePreferenceSettingsSidebar } from "./sidebar"; interface IProfilePreferenceSettingsLayout { children: ReactNode; header?: ReactNode; } export const ProfilePreferenceSettingsLayout: FC = (props) => { const { children, header } = props; return (
{header}
{children}
); };