import React from "react"; import { type VibeComponentProps, type ElementContent } from "../../../types"; import { type ExpandCollapseIconPosition } from "../../ExpandCollapse/ExpandCollapse.types"; export interface AccordionItemProps extends VibeComponentProps { /** * The header content displayed in the accordion item. */ title?: ElementContent; /** * The content rendered inside the accordion item. */ children?: ElementContent; /** * The size of the expand/collapse icon. */ iconSize?: number | string; /** * The position of the expand/collapse icon. */ iconPosition?: ExpandCollapseIconPosition; /** * Callback fired upon item click. */ onClick?: () => void; /** @ignore */ open?: boolean; /** @ignore */ onClickAccordionCallback?: () => void; /** * If true, the accordion item's border is hidden. */ hideBorder?: boolean; /** * Class name applied to the accordion item's header. */ headerClassName?: string; /** * Class name applied to the accordion item's content. */ contentClassName?: string; /** * If true, the click event is handled during the capture phase. */ captureOnClick?: boolean; /** * Class name applied to the expand/collapse component. */ expandCollapseComponentClassName?: string; } declare const AccordionItem: React.FC; export default AccordionItem;