Skip to main content

TreeProps<T>

TreeProps<T> = Omit<AriaTreeProps<TreeNode<T>>, "defaultExpandedKeys" | "defaultSelectedKeys" | "disabledKeys" | "expandedKeys" | "selectedKeys" | "onSelectionChange"> & VariantProps<typeof TreeStyles> & object

Type Declaration

disabledKeys?

optional disabledKeys: Set<Key>

dragAndDropConfig?

optional dragAndDropConfig: DragAndDropConfig

expandedKeys?

optional expandedKeys: Set<Key>

onSelectionChange()?

optional onSelectionChange: (keys) => void

Parameters

keys

Set<Key>

Returns

void

onVisibilityChange()?

optional onVisibilityChange: (keys) => void

Parameters

keys

Set<Key>

Returns

void

selectedKeys?

optional selectedKeys: Set<Key>

showRuleLines?

optional showRuleLines: boolean

showVisibility?

optional showVisibility: boolean

visibleKeys?

optional visibleKeys: Set<Key>

Type Parameters

T

T