@brizy/ui
Version:
React elements in Brizy style
12 lines (11 loc) • 430 B
TypeScript
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;