Skip to main content

TreeFeatureConfig <T>

Index

Properties

getItemName

getItemName: (item: ItemInstance<T>) => string

Type declaration

isItemFolder

isItemFolder: (item: ItemInstance<T>) => boolean

Type declaration

optionalonPrimaryAction

onPrimaryAction?: (item: ItemInstance<T>) => void

Type declaration

optionalscrollToItem

scrollToItem?: (item: ItemInstance<T>) => void

Type declaration

optionalsetExpandedItems

setExpandedItems?: SetStateFn<string[]>

optionalsetFocusedItem

setFocusedItem?: SetStateFn<null | string>