Add backspaceToRemoveMessage prop

This commit is contained in:
Vipul Shekhawat
2016-09-27 16:03:49 -07:00
committed by GitHub
parent 185abf7d04
commit dc0093e464

View File

@@ -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
*/