Skip to main content

RenamingFeatureConfig <T>

Index

Properties

optionalcanRename

canRename?: (item: ItemInstance<T>) => boolean

Type declaration

optionalonRename

onRename?: (item: ItemInstance<T>, value: string) => void

Type declaration

optionalsetRenamingItem

setRenamingItem?: SetStateFn<null | string>

optionalsetRenamingValue

setRenamingValue?: SetStateFn<undefined | string>