UNPKG

@brizy/ui

Version:
12 lines (11 loc) 430 B
import { ReactElement } from "react"; export interface Props { children: JSX.Element; open: boolean; getContainer?: HTMLElement | string | false | (() => HTMLElement); placement?: "left" | "right" | "top" | "bottom"; onClose?: () => void; mask?: boolean; closable?: boolean; } export declare const Drawer: ({ placement, open, getContainer, onClose, mask, closable, children, }: Props) => ReactElement;