@types/react-select: Add missing property 'showNewOptionAtTop' to ReactCreatableSelectProps (#27629)

* @types/react-select: Add missing property 'showNewOptionAtTop' to ReactCreatableSelectProps

* Remove trailing whitespace.

* Remove trailing whitespace
This commit is contained in:
Akim Bassa
2018-08-01 12:11:06 -07:00
committed by Sheetal Nandi
parent 404e051500
commit 37acee0d1c
+7
View File
@@ -616,6 +616,13 @@ export interface ReactCreatableSelectProps<TValue = OptionValues> extends ReactS
* new option click handler: function (option) {}
*/
onNewOptionClick?: OnNewOptionClickHandler<TValue>;
/**
* true: Show new option at top of list
* false: Show new option at bottom of list
* @default true
*/
showNewOptionAtTop?: boolean;
}
export interface ReactAsyncSelectProps<TValue = OptionValues> extends ReactSelectProps<TValue> {