import { default as React } from 'react'; import { ExpanderHierarchyCommonProps } from './ExpanderHierarchy'; export interface ExpanderProps extends ExpanderHierarchyCommonProps { /** Sets the trigger title */ title: string; /** Opens or closes the expander */ expanded?: boolean; /** Called when expander is open/closed. */ onExpand?: (isExpanded: boolean) => void; /** Sets the expanded content */ children?: React.ReactNode; /** Sets the data-testid attribute on the expander button. */ testId?: string; /** Adds custom classes to the element. */ className?: string; /** ref that is placed on the li element */ ref?: React.RefObject; } export type ExpanderType = typeof Expander; declare const Expander: React.FC; export default Expander;