Mixins / foldkit-mixins-ui

TreeStructureNode

interface · packages/mixins-ui/src/bundles/treeView.ts:10

interface TreeStructureNode {
  readonly id: string
  readonly label: string
  readonly children?: ReadonlyArray<TreeStructureNode> | undefined
  readonly disabled?: boolean | undefined
}

A row of Bundles.TreeView's nodes arg: its structure, what keys, typeahead and checks read. Its icons and content stay the view's, so a TreeNode fits.

Members

TreeStructureNode.id

property · packages/mixins-ui/src/bundles/treeView.ts:11

readonly id: string

TreeStructureNode.label

property · packages/mixins-ui/src/bundles/treeView.ts:12

readonly label: string

TreeStructureNode.children

property · packages/mixins-ui/src/bundles/treeView.ts:13

readonly children?: ReadonlyArray<TreeStructureNode> | undefined

TreeStructureNode.disabled

property · packages/mixins-ui/src/bundles/treeView.ts:14

readonly disabled?: boolean | undefined