UNPKG

1.03 kBTypeScriptView Raw
1import * as React from 'react';
2export interface AccordionContentProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside the Accordion */
4 children?: React.ReactNode;
5 /** Additional classes added to the Accordion content */
6 className?: string;
7 /** Identify the AccordionContent item */
8 id?: string;
9 /** Flag to show if the expanded content of the Accordion item is visible */
10 isHidden?: boolean;
11 /** Flag to indicate Accordion content is fixed */
12 isFixed?: boolean;
13 /** Adds accessible text to the Accordion content */
14 'aria-label'?: string;
15 /** Component to use as content container */
16 component?: React.ElementType;
17 /** Flag indicating content is custom. Expanded content Body wrapper will be removed from children. This allows multiple bodies to be rendered as content. */
18 isCustomContent?: React.ReactNode;
19}
20export declare const AccordionContent: React.FunctionComponent<AccordionContentProps>;
21//# sourceMappingURL=AccordionContent.d.ts.map
\No newline at end of file