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#
Props#
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| children | React.ReactNode | Yes | The component tree (must contain DrawerContainer and MainContainer). |
DrawerContainer#
Can't be used outside
<DrawerTemplate>.
Props#
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| children | React.ReactNode | Yes | Drawer content |
MainContainer#
Can't be used outside
<DrawerTemplate>.
Props#
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| children | React.ReactNode | Yes | Main content |