import { CSSProperties } from 'react'; import { HtmlProps, SlotClassNames, SlotStyles } from '../types/slots.types.js'; export type DrawerSlots = 'root' | 'content' | 'inner'; export interface DrawerProps extends HtmlProps { className?: string; style?: CSSProperties; classNames?: SlotClassNames; styles?: SlotStyles; isOpen?: boolean; /** Width of the container when closed. Defaults to 0. Any CSS length value, e.g. '48px'. */ closedWidth?: string; /** Width of the container when open. Defaults to the content's natural width. Any CSS length value, e.g. '90vw'. */ openedWidth?: string; children?: React.ReactNode; }