Renaming react-select openAfterFocus prop to openOnClick (#27241)

This commit is contained in:
Chad Auld
2018-07-20 18:14:14 -07:00
committed by Wesley Wigham
parent af73b62052
commit b92d9cfc1f
+2 -2
View File
@@ -472,10 +472,10 @@ export interface ReactSelectProps<TValue = OptionValues> extends React.Props<Rea
* boolean to enable opening dropdown when focused
* @default false
*/
openAfterFocus?: boolean;
openOnClick?: boolean;
/**
* open the options menu when the input gets focus (requires searchable = true)
* @default false
* @default true
*/
openOnFocus?: boolean;
/**