From 7c19c99f0b2047af82e029e2291804b41497ee32 Mon Sep 17 00:00:00 2001 From: Eric Bonow Date: Wed, 10 Feb 2021 11:42:53 -0800 Subject: [PATCH] Allow tabIndex type to be number or string --- packages/react-select/src/Select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-select/src/Select.js b/packages/react-select/src/Select.js index 1d4a0513ca..7d3e4ed69b 100644 --- a/packages/react-select/src/Select.js +++ b/packages/react-select/src/Select.js @@ -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 */