@ni/nimble-react
Version:
React components for the NI Nimble Design System
18 lines (17 loc) • 827 B
TypeScript
import { TreeView } from '@ni/nimble-components/dist/esm/tree-view';
import type { TreeItemExpandedChangeEvent, TreeItemSelectedChangeEvent } from '../tree-item';
export { type TreeView };
export declare const NimbleTreeView: import("@ni/fast-react-wrapper").ReactWrapper<TreeView, {
onExpandedChange: unknown;
onSelectedChange: unknown;
}>;
/**
* Bubbling event emitted by a tree item child when expanded or collapsed.
* Easier to listen for the event on parent tree view than on each tree item child.
*/
export type TreeViewExpandedChangeEvent = TreeItemExpandedChangeEvent;
/**
* Bubbling event emitted by a tree item child when selected or deselected.
* Easier to listen for the event on parent tree view than on each tree item child.
*/
export type TreeViewSelectedChangeEvent = TreeItemSelectedChangeEvent;