Skip to content

TreeRowLead

The indent and chevron that lead a tree row’s label. Parents get a toggle (onToggle + label); leaves get a chevron-sized spacer so they line up.

Source

import { TreeRowLead } from "@flanksource/clicky-ui/data";
Default · Open in Storybook
Controlled Expand All · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
depth* number — —
label string — —
onToggle (…) => void — —
open boolean false —