Side drawer
Side drawers function like the Material navigation drawer. They open up a surface that allows the system to display information, navigation, or other content.
Package: @terreno/ui
Categories: Component
Props interface: SideDrawerProps
Story source: demo/stories/Sidedrawer.stories.tsx
Live demo
Props
| Prop | Type | Required | Description |
|---|---|---|---|
isOpen | boolean | Yes | |
renderContent | reflection | Yes | |
children | ReactElement | ||
drawerStyles | StyleProp | ||
drawerType | union | ||
onClose | reflection | ||
onOpen | reflection | ||
position | union |