Skip to content

FileTreeNodeState

Defined in: src/components/controls/FileTree/FileTree.types.ts:42

Per-node state handed to FileTree render/resolve props.

Extends

Properties

depth

depth: number

Defined in: src/components/controls/TreeView/TreeView.types.ts:46

Inherited from

TreeNodeState.depth


expanded

expanded: boolean

Defined in: src/components/controls/TreeView/TreeView.types.ts:44

Inherited from

TreeNodeState.expanded


focused

focused: boolean

Defined in: src/components/controls/TreeView/TreeView.types.ts:45

Inherited from

TreeNodeState.focused


isFirst

isFirst: boolean

Defined in: src/components/controls/TreeView/TreeView.types.ts:48

Inherited from

TreeNodeState.isFirst


isFolder

isFolder: boolean

Defined in: src/components/controls/FileTree/FileTree.types.ts:44

Convenience flag — true when the node is a folder.


isLast

isLast: boolean

Defined in: src/components/controls/TreeView/TreeView.types.ts:49

Inherited from

TreeNodeState.isLast


isLeaf

isLeaf: boolean

Defined in: src/components/controls/TreeView/TreeView.types.ts:47

Inherited from

TreeNodeState.isLeaf


selected

selected: boolean

Defined in: src/components/controls/TreeView/TreeView.types.ts:43

Inherited from

TreeNodeState.selected