( Component: any )
| 9 | const Noop = ({ children }: { children?: ReactNode }) => <>{children}</> |
| 10 | |
| 11 | export const getLayout = <LP extends {} = LayoutProps>( |
| 12 | Component: any |
| 13 | ): ComponentType<LP> => Component?.Layout || Noop |
| 14 | |
| 15 | export const Layout = ({ path, deployButton, children }: LayoutProps) => ( |
| 16 | <div className="mx-auto h-screen flex flex-col"> |