mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
@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:
committed by
Sheetal Nandi
parent
404e051500
commit
37acee0d1c
Vendored
+7
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user