| 1 |
/// <reference types="react" /> |
| 2 |
/** Renders a search input for the tree view. This sub-component should be passed into the |
| 3 |
* tree view component's toolbar property. |
| 4 |
*/ |
| 5 |
export interface TreeViewSearchProps extends React.HTMLProps<HTMLInputElement> { |
| 6 |
/** Accessible label for the search input. */ |
| 7 |
'aria-label'?: string; |
| 8 |
/** Classes applied to the wrapper for the search input. */ |
| 9 |
className?: string; |
| 10 |
/** Id for the search input. */ |
| 11 |
id?: string; |
| 12 |
/** Name for the search input. */ |
| 13 |
name?: string; |
| 14 |
/** Callback for search input. */ |
| 15 |
onSearch?: (event: React.ChangeEvent<HTMLInputElement>) => void; |
| 16 |
} |
| 17 |
export declare const TreeViewSearch: React.FunctionComponent<TreeViewSearchProps>; |
| 18 |
//# sourceMappingURL=TreeViewSearch.d.ts.map |