Components
Layout

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:


PropTypeDescription
childrenReact.ReactNodeInner react components
footerReact.ReactNodeFooter of the page
headerReact.ReactNodeHeader of the page
sideMenuReact.ReactNodeWorkspace side menu
themeSwitcherbooleanEnables theme switch button
tintSwitcherbooleanEnables tint switch