updated the typing for the creator args (#12365)

This commit is contained in:
Brandon Marc-Aurele
2016-11-01 21:59:17 +09:00
committed by Masahiro Wakame
parent 674de3e822
commit 830b43f05e
+1 -1
View File
@@ -368,7 +368,7 @@ declare namespace ReactSelectClass {
/**
* factory to create new options
*/
newOptionCreator?: (input: string) => Option;
newOptionCreator?: (arg: { label: string, labelKey: string, valueKey: string }) => Option;
/**
* Creates prompt/placeholder for option text.