DrawerTemplate
#
This component will create a template with a drawer. It must contain DrawerContainer
and MainContainer
as child.
Can't be used outside
<Theme>
.
#
Example#
PropsName | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | Yes | The component tree (must contain DrawerContainer and MainContainer ). |
DrawerContainer
#
Can't be used outside
<DrawerTemplate>
.
#
PropsName | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | Yes | Drawer content |
MainContainer
#
Can't be used outside
<DrawerTemplate>
.
#
PropsName | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | Yes | Main content |