From 37acee0d1c86723dd3e02a836e407a02bf59d83c Mon Sep 17 00:00:00 2001 From: Akim Bassa Date: Wed, 1 Aug 2018 21:11:06 +0200 Subject: [PATCH] @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 --- types/react-select/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/react-select/index.d.ts b/types/react-select/index.d.ts index b3d5490d9f..31ff0db561 100644 --- a/types/react-select/index.d.ts +++ b/types/react-select/index.d.ts @@ -616,6 +616,13 @@ export interface ReactCreatableSelectProps extends ReactS * new option click handler: function (option) {} */ onNewOptionClick?: OnNewOptionClickHandler; + + /** + * true: Show new option at top of list + * false: Show new option at bottom of list + * @default true + */ + showNewOptionAtTop?: boolean; } export interface ReactAsyncSelectProps extends ReactSelectProps {