import Meta from './meta'; import Title from './title'; type ChildrenType = JSX.Element | Array; type LayoutProps = { name: string, title?: string, ancestors?: Array<{ name: string, path: string }> children?: ChildrenType, }; function Layout({ name, title, children, ancestors }: LayoutProps) { return ( <> <div className='container'> {children} </div> </> ); } export default Layout;