Manta Developers
GitHub
Menu

@manta-eu/react/components/app-shell

Reference for @manta-eu/react/components/app-shell as it is on main.

Type Aliases

AppShellProps

AppShellProps = AppShellRoutesProps & Pick<ProvidersProps, "themeFamily" | "future"> & object

Type Declaration

optional navItems?: NavExtra[]


AppShellRoutesProps

AppShellRoutesProps = Pick<ChatManagerProviderProps, "onStartupTiming"> & object

Type Declaration

chatBasePath?

optional chatBasePath?: string

chatMode?

optional chatMode?: ConversationMode

datastoreRoutes?

optional datastoreRoutes?: ReactNode

globalRoutes?

optional globalRoutes?: ReactNode

pages?

optional pages?: readonly AppPage[]

routes?

optional routes?: Partial<RouteElements>

wrapDatastoreRoutes?

optional wrapDatastoreRoutes?: (routes) => ReactNode

Wraps the datastore routes, for providers only a datastore’s pages need.

Parameters
routes

ReactNode

Returns

ReactNode

Functions

AppShell()

AppShell(props): Element

Parameters

props

AppShellProps

Returns

Element


AppShellRoutes()

AppShellRoutes(props): Element

Parameters

props

AppShellRoutesProps

Returns

Element