@serenity-is/corelib / CheckTreeItem
Interface: CheckTreeItem<TSource>
Defined in: src/ui/editors/checktreeeditor.tsx:22
A single item in a check tree editor.
Type Parameters
TSource
TSource
The source item type.
Properties
children?
optionalchildren:CheckTreeItem<TSource>[]
Defined in: src/ui/editors/checktreeeditor.tsx:36
Child items.
hideCheckBox?
optionalhideCheckBox:boolean
Defined in: src/ui/editors/checktreeeditor.tsx:26
Whether to hide the checkbox for this item.
id?
optionalid:string
Defined in: src/ui/editors/checktreeeditor.tsx:30
Unique identifier of the tree item, used as the node key and selection value.
isAllDescendantsSelected?
optionalisAllDescendantsSelected:boolean
Defined in: src/ui/editors/checktreeeditor.tsx:28
Whether all descendants are selected.
isSelected?
optionalisSelected:boolean
Defined in: src/ui/editors/checktreeeditor.tsx:24
Whether the item is selected.
parentId?
optionalparentId:string
Defined in: src/ui/editors/checktreeeditor.tsx:34
Parent item id.
source?
optionalsource:TSource
Defined in: src/ui/editors/checktreeeditor.tsx:38
The source item.
text?
optionaltext:string
Defined in: src/ui/editors/checktreeeditor.tsx:32
Display text.