1 | import * as React from 'react';
|
2 | export interface AccordionProps extends React.HTMLProps<HTMLDListElement> {
|
3 | /** Content rendered inside the Accordion */
|
4 | children?: React.ReactNode;
|
5 | /** Additional classes added to the Accordion */
|
6 | className?: string;
|
7 | /** Adds accessible text to the Accordion */
|
8 | 'aria-label'?: string;
|
9 | /** Heading level to use */
|
10 | headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
11 | /** Flag to indicate whether use definition list or div */
|
12 | asDefinitionList?: boolean;
|
13 | /** Flag to indicate the accordion had a border */
|
14 | isBordered?: boolean;
|
15 | /** Display size variant. */
|
16 | displaySize?: 'default' | 'large';
|
17 | }
|
18 | export declare const Accordion: React.FunctionComponent<AccordionProps>;
|
19 | //# sourceMappingURL=Accordion.d.ts.map |
\ | No newline at end of file |