TreeElementinterface
{
readonly key: string;
readonly type: `tree-${string}`;
}| Property | Type | |
|---|---|---|
.key | string | required readonly |
.type | `tree-${string}` | required readonly |
Element in a heirarchical tree.
- Has a
tree-prefixed type string. - Requires a string
keyprop (can be resolved to a path). - Props can include
title,description, and/orcontentto be useful.