import { ReactNode } from "react"; import RAC from "react-aria-components"; type RemovedProps = 'isDisabled' | 'isExpanded' | 'className' | 'style'; export interface PanelCollapsibleProps extends Omit { /** Whether the collapsible section is expanded (controlled). */ expanded?: RAC.DisclosureProps['isExpanded']; /** Whether the collapsible section is disabled. */ disabled?: RAC.DisclosureProps['isDisabled']; /** * Content of the collapsible section. Typically a * `Panel.CollapsibleHeader` and `Panel.CollapsibleContent`. */ children: ReactNode; } export {};