import { ReactElement, ReactNode } from 'react'; import { ModalOverlayProps } from 'react-aria-components'; import { ButtonProps } from '../Button'; type BottomSheetPassthrough = Omit; export type BottomSheetProps = BottomSheetPassthrough & { /** * Header title and accessible name (`aria-labelledby`). Required — a modal * must be labeled. */ title: string; /** Secondary line under the title. Omit for a title-only header. */ subheader?: string; /** * Element that opens the sheet. Omit when driving `isOpen` / `onOpenChange` * yourself. */ trigger?: ReactElement; /** * Body region (forms, lists, layout) — not Dialog's message-style content. * Scrolls in the current detent; header and drag handle stay pinned. */ content: ReactNode; /** * Header close (X). Backdrop, Escape, and the drag handle still dismiss. * Defaults to `true`. */ showCloseButton?: boolean; className?: string; }; export {};