@happyhyep/tree-component
Version:
React Tree Component with Search functionality
9 lines (8 loc) • 405 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 } from "./TreeWithSearch";
export type { TreeItem } from "./types";
export { buildTree, filterTreeWithDescendants, getChildren } from "./utils";