UNPKG

react-hierarchy-chart

Version:

`ReactHierarchyChart` is an React Component for Vertical or Horizontal Hierarchy/Tree View. It can be used to show parent child view, Organization structure, Tree view. with your flaxible dynamic template design with controls.

11 lines (10 loc) 392 B
/// <reference types="react" /> import { INode } from "../HierarchyNode/HierarchyNode"; import "./ReactHierarchy.scss"; export interface ReactHierarchyProps { nodes: INode[]; direction: 'vertical' | 'horizontal'; randerNode: Function; } declare const ReactHierarchy: ({ nodes, direction, randerNode }: ReactHierarchyProps) => JSX.Element; export default ReactHierarchy;