UNPKG

react-accessible-treeview

Version:

A react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.

40 lines (38 loc) 854 B
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;