UNPKG

reverie-ui

Version:

A React UI library based on Tailwind CSS

11 lines (10 loc) 409 B
import React from "react"; import { CommonProps } from "../../types"; export interface DrawerProps extends CommonProps<HTMLDivElement> { visible?: boolean; placement?: 'left' | 'right' | 'top' | 'bottom'; backdropClose?: boolean; onClose?: () => void; } declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>; export default Drawer;