Skip to main content

Interface: TreeContextProps

Hierarchy

Properties

getItemsLinearly

getItemsLinearly: () => { depth: number ; item: TreeItemIndex }[]

Type declaration

▸ (): { depth: number ; item: TreeItemIndex }[]

Returns

{ depth: number ; item: TreeItemIndex }[]

Defined in

types.ts:407


renamingItem

renamingItem: null | TreeItemIndex

Defined in

types.ts:403


renderers

renderers: Required<TreeRenderProps<any, never>>

Defined in

types.ts:405


rootItem

rootItem: string

Inherited from

TreeConfiguration.rootItem

Defined in

types.ts:391


search: null | string

Defined in

types.ts:401


setRenamingItem

setRenamingItem: (item: null | TreeItemIndex) => void

Type declaration

▸ (item): void

Parameters
NameType
itemnull | TreeItemIndex
Returns

void

Defined in

types.ts:404


setSearch

setSearch: (searchValue: null | string) => void

Type declaration

▸ (searchValue): void

Parameters
NameType
searchValuenull | string
Returns

void

Defined in

types.ts:402


treeId

treeId: string

Inherited from

TreeConfiguration.treeId

Defined in

types.ts:390


treeInformation

treeInformation: TreeInformation

Defined in

types.ts:406


treeLabel

Optional treeLabel: string

Inherited from

TreeConfiguration.treeLabel

Defined in

types.ts:392


treeLabelledBy

Optional treeLabelledBy: string

Inherited from

TreeConfiguration.treeLabelledBy

Defined in

types.ts:393