Function: Drawer()
Drawer(
__namedParameters
):Element
This component is in charge of rendering the drawer. If you add this component under your Scaffold, it will be rendered as a drawer, and the open and close functionality will be handled automatically. If you want to customise the drawer, you can create your own component and pass it as a child. For custom drawers, you can use the useApp to open and close the drawer.
Parameters​
• __namedParameters
• __namedParameters.children?: ReactNode
• __namedParameters.className?: string
• __namedParameters.style?: CSSProperties
Returns​
Element