Skip to content

SettingDefinitionList.onDelete?

SettingDefinitionList › onDelete?

Official

Type: (index: number) => void

When set, adds a delete button to each item and enables Delete/Backspace keyboard shortcut. Called with the item index.

Since: 1.13.0