Drawer
@firecms/core / Drawer
Function: Drawer()
Section titled “Function: Drawer()”Drawer(
__namedParameters):Element
Defined in: app/Drawer.tsx:11
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
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”children?
Section titled “children?”ReactNode
className?
Section titled “className?”string
style?
Section titled “style?”CSSProperties
Returns
Section titled “Returns”Element