1 | import * as React from 'react';
|
2 | import { DualListSelectorTreeItemData } from './DualListSelectorTree';
|
3 | export interface DualListSelectorTreeItemProps extends React.HTMLProps<HTMLLIElement> {
|
4 | /** Content rendered inside the dual list selector. */
|
5 | children?: React.ReactNode;
|
6 | /** Additional classes applied to the dual list selector. */
|
7 | className?: string;
|
8 | /** Flag indicating this option is expanded by default. */
|
9 | defaultExpanded?: boolean;
|
10 | /** Flag indicating this option has a badge */
|
11 | hasBadge?: boolean;
|
12 | /** Callback fired when an option is checked */
|
13 | onOptionCheck?: (event: React.MouseEvent | React.ChangeEvent<HTMLInputElement> | React.KeyboardEvent, isChecked: boolean, itemData: DualListSelectorTreeItemData) => void;
|
14 | /** ID of the option */
|
15 | id: string;
|
16 | /** Text of the option */
|
17 | text: string;
|
18 | /** Flag indicating if this open is checked. */
|
19 | isChecked?: boolean;
|
20 | /** Additional properties to pass to the option checkbox */
|
21 | checkProps?: any;
|
22 | /** Additional properties to pass to the option badge */
|
23 | badgeProps?: any;
|
24 | /** Raw data of the option */
|
25 | itemData?: DualListSelectorTreeItemData;
|
26 | /** Flag indicating whether the component is disabled. */
|
27 | isDisabled?: boolean;
|
28 | /** Flag indicating the DualListSelector tree should utilize memoization to help render large data sets. */
|
29 | useMemo?: boolean;
|
30 | }
|
31 | export declare const DualListSelectorTreeItem: React.NamedExoticComponent<DualListSelectorTreeItemProps>;
|
32 | //# sourceMappingURL=DualListSelectorTreeItem.d.ts.map |
\ | No newline at end of file |