TreeChip
Loading example…
Compact node template for the radial and dendrogram layouts: a pill with a color dot, the name and, optionally, the descendant count.
Import
Section titled “Import”import { TreeChip } from "@jcsoftdev/ui/charts";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/charts/tree-chart.
<TreeChip node={root} state={idle} />| Prop | Type | Default | Description |
|---|---|---|---|
node * |
TreeChartNode |
||
state * |
TreeNodeState |
* marks a required prop.
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/charts/tree-chart/tree-card.tsx