Layout component
By default Protofy autogenerated pages from admin panel include a default layout. This layout is called DefaultLayout
and can be
customized by editting the following props:
Prop | Type | Description |
children | React.ReactNode | Inner react components |
footer | React.ReactNode | Footer of the page |
header | React.ReactNode | Header of the page |
sideMenu | React.ReactNode | Workspace side menu |
themeSwitcher | boolean | Enables theme switch button |
tintSwitcher | boolean | Enables tint switch |