@happyhyep/tree-component
Version:
React Tree Component with Search functionality
9 lines (8 loc) • 427 B
TypeScript
export { Tree } from './Tree';
export type { TreeProps } from './Tree';
export { TreeNode } from './TreeNode';
export type { TreeNodeProps } from './TreeNode';
export { TreeWithSearch, useTreeSearch } from './TreeWithSearch';
export type { TreeWithSearchProps, TreeSearchInputProps } from './TreeWithSearch';
export type { TreeItem } from './types';
export { buildTree, filterTreeWithDescendants, getChildren } from './utils';