Merge pull request #11546 from vipshek/vipshek-patch-1

Add backspaceToRemoveMessage prop
This commit is contained in:
Vladimir Matveev
2016-09-27 22:03:08 -07:00
committed by GitHub
+6
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
*/