Tree
Hierarchical tree view with expandable/collapsible nodes, custom icons, and animated transitions. Composed of Tree and TreeNode. Uses Collapse for expand/collapse animation.
Import
import { Tree, TreeNode } from 'reablocks';
Tree Props
| Prop | Type | Default | Description |
|---|---|---|---|
expandedIcon | ReactNode | <ArrowDownIcon /> | Icon for expanded nodes |
collapsedIcon | ReactNode | <ArrowRightIcon /> | Icon for collapse |
[Description truncada. Veja o README completo no GitHub.]