@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
17 lines (16 loc) • 677 B
TypeScript
/**
* This component is in charge of rendering the drawer.
* If you add this component under your {@link 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 {@link useApp} to open and close the drawer.
*
*/
export declare function Drawer({ children, className, style }: {
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
}): import("react/jsx-runtime").JSX.Element;
export declare namespace Drawer {
var componentType: string;
}