import { default as React } from 'react'; import { CollapsibleProps } from '@radix-ui/react-collapsible'; /** * Interface for Collapsible component props */ export default interface ICollapsibleProps extends Omit { /** * The content to display in the collapsible trigger element */ triggerContent: React.ReactNode; /** * The content to be shown or hidden within the collapsible panel */ content: React.ReactNode; /** * Whether the collapsible is open by default */ defaultOpen?: boolean; /** * When true, the trigger element will be rendered as a child component * This allows custom styling and behavior for the trigger */ asChild?: boolean; /** * Whether to show a chevron icon that rotates when the collapsible is opened/closed */ showIcon?: boolean; }