@trail-ui/react
Version:
14 lines (11 loc) • 519 B
TypeScript
import * as react from 'react';
import { DrawerVariantProps, SlotsToClasses, DrawerSlots } from '@trail-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, DrawerProps };