import { ReactNode } from "react"; import LayoutMasterActions from "./LayoutMasterActions"; import LayoutMasterContent from "./LayoutMasterContent"; import LayoutMasterTitle from "./LayoutMasterTitle"; interface LayoutMasterProps { children?: ReactNode; } const LayoutMaster = (props: LayoutMasterProps) => { const { children } = props; return (
{children}
); }; LayoutMaster.Title = LayoutMasterTitle; LayoutMaster.Actions = LayoutMasterActions; LayoutMaster.Content = LayoutMasterContent; export default LayoutMaster;