@manta-eu/react/components/layouts/RouteLayout
Reference for @manta-eu/react/components/layouts/RouteLayout as it is on main.
Type Aliases
RouteLayoutProps
RouteLayoutProps =
object
Properties
allowedModels?
optionalallowedModels?:MantaModelId[]
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
canSwitchDatastore?
optionalcanSwitchDatastore?:boolean
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
children
children:
ReactNode
datastore?
optionaldatastore?:Datastore
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
datastores?
optionaldatastores?:Datastore[]
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
floatingMobileMenu?
optionalfloatingMobileMenu?:boolean
isOperator?
optionalisOperator?:boolean
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
logout?
optionallogout?: () =>void
Returns
void
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
mark?
optionalmark?:ReactNode
title?
optionaltitle?:string
user?
optionaluser?:User
Deprecated
Use useAuthContext instead: the layout reads it itself; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
Functions
RouteLayout()
RouteLayout(
props):Element
Parameters
props
Returns
Element