UNPKG

@hhgtech/hhg-components

Version:
20 lines (19 loc) 573 B
import React, { ReactNode } from 'react'; export type Placement = 'left' | 'right' | 'bottom' | 'top'; export type DrawerProps = { title?: string; open?: boolean; onClose: VoidFunction; placement?: Placement; destroyOnClose?: boolean; className?: string; isPropagationEvent?: boolean; children?: ReactNode | ((params?: { internalClose?: () => void; }) => ReactNode); }; /** * @deprecated Consider to use at '@hhgtech/hhg-components/mantine' */ declare const Drawer: React.FC<DrawerProps>; export { Drawer };