Tree
A hierarchy of links with keyboard navigation.
beta
API
import Tree from '@tcpsystems/ui/foundation/Tree';| Prop | Type | Default |
|---|---|---|
items? | Item[] | [] |
label? | string | 'Tree' |
| Hook | Kind |
|---|---|
.tcp-tree | Root class |
data-expanded | Data attribute |
data-id | Data attribute |