Skip to content

Commit

Permalink
Allow tabIndex type to be number or string
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonow committed Feb 10, 2021
1 parent 6f0b424 commit 7c19c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-select/src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export type Props = {
/* Theme modifier method */
theme?: ThemeConfig,
/* Sets the tabIndex attribute on the input */
tabIndex: string,
tabIndex: number | string,
/* Select the currently focused option when the user presses tab */
tabSelectsValue: boolean,
/* The value of the select; reflected by the selected option */
Expand Down

0 comments on commit 7c19c99

Please sign in to comment.