mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Add backspaceToRemoveMessage prop
This commit is contained in:
6
react-select/react-select.d.ts
vendored
6
react-select/react-select.d.ts
vendored
@@ -87,6 +87,12 @@ declare namespace ReactSelect {
|
||||
* @default true
|
||||
*/
|
||||
backspaceRemoves?: boolean;
|
||||
/**
|
||||
* Message to use for screenreaders to press backspace to remove the current item
|
||||
* {label} is replaced with the item label
|
||||
* @default "Press backspace to remove..."
|
||||
*/
|
||||
backspaceToRemoveMessage?: string;
|
||||
/**
|
||||
* CSS className for the outer element
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user