TreeSection
Section header for the channel tree with a label, horizontal rule, and optional action link.
Import
import { TreeSection } from "@gumtree/ui/chat/TreeSection" ; Props
| Prop | Type | Default | Description |
|---|---|---|---|
label* | string | - | Section label (rendered uppercase) |
action | string | - | Action link text (e.g. '+ New') |
actionHref | string | - | URL for the action link |
Examples
With and Without Action
Channels+ New
Repositories
< TreeSection label = "Channels" action = "+ New" />
< TreeSection label = "Repositories" />