reablocks
Version:
Component library for React
27 lines (25 loc) • 631 B
TypeScript
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>;