UNPKG

@alice-ui/react

Version:
14 lines (11 loc) 524 B
import * as react from 'react'; import { DrawerVariantProps, SlotsToClasses, DrawerSlots } from '@alice-ui/theme'; import { ModalOverlayProps } from 'react-aria-components'; interface DrawerProps extends ModalOverlayProps, DrawerVariantProps { /** * Classes object to style the modal and its children. */ classNames?: SlotsToClasses<DrawerSlots>; } declare const _Drawer: react.ForwardRefExoticComponent<DrawerProps & react.RefAttributes<HTMLDivElement>>; export { _Drawer as Drawer, type DrawerProps };