UNPKG

919 BTypeScriptView Raw
1import * as React from 'react';
2export interface DataListToggleProps extends React.HTMLProps<HTMLDivElement> {
3 /** Additional classes added to the DataList cell */
4 className?: string;
5 /** Flag to show if the expanded content of the DataList item is visible */
6 isExpanded?: boolean;
7 /** Identify the DataList toggle number */
8 id: string;
9 /** Id for the row */
10 rowid?: string;
11 /** Adds accessible text to the DataList toggle */
12 'aria-labelledby'?: string;
13 /** Adds accessible text to the DataList toggle */
14 'aria-label'?: string;
15 /** Allows users of some screen readers to shift focus to the controlled element. Should be used when the controlled contents are not adjacent to the toggle that controls them. */
16 'aria-controls'?: string;
17}
18export declare const DataListToggle: React.FunctionComponent<DataListToggleProps>;
19//# sourceMappingURL=DataListToggle.d.ts.map
\No newline at end of file