UNPKG

reablocks

Version:
27 lines (25 loc) 631 B
import { DrawerTheme } from './DrawerTheme'; import { FC } from 'react'; export interface DrawerHeaderProps { /** * The content of the drawer header. */ children?: any; /** * The CSS class name for the root element of the component. */ className?: string; /** * Whether to show the close button in the drawer header. */ showCloseButton?: boolean; /** * Callback when the close button is clicked. */ onClose?: () => void; /** * Theme for the Drawer Header. */ theme?: DrawerTheme; } export declare const DrawerHeader: FC<DrawerHeaderProps>;