ICATreeViewReturn
@spartanfx/react / codeapps / ICATreeViewReturn
Interface: ICATreeViewReturn
Return value of the CodeApps TreeView adapters. Spread items and schema
into <TreeView />.
Properties
| Property | Type | Description |
|---|---|---|
error | Error | Last load error, or null. |
items | ITreeViewDataItem[] | Items shaped for the TreeView. |
loading | boolean | True while a load is in flight. |
refresh | () => Promise<void> | Re-fetch the items. |
schema | ITreeViewSchema<ITreeViewDataItem> | Schema matching the active hierarchy mode. |