react-accessible-treeview
Version:
A react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.
8 lines (7 loc) • 763 B
TypeScript
import TreeView, { ITreeViewOnExpandProps, ITreeViewOnSelectProps, ITreeViewOnNodeSelectProps, ITreeViewProps, ITreeViewOnLoadDataProps } from "./TreeView";
import { CLICK_ACTIONS } from "./TreeView/constants";
import { ITreeViewState, TreeViewAction } from "./TreeView/reducer";
import { INode, NodeId, EventCallback, ClickActions, INodeRendererProps, IBranchProps, LeafProps } from "./TreeView/types";
import { flattenTree } from "./TreeView/utils";
export { flattenTree, ITreeViewProps, INode, NodeId, ITreeViewOnSelectProps, ITreeViewOnNodeSelectProps, CLICK_ACTIONS, ITreeViewOnExpandProps, ITreeViewOnLoadDataProps, EventCallback, TreeViewAction, INodeRendererProps, ClickActions, IBranchProps, LeafProps, ITreeViewState, };
export default TreeView;