mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
[react-select] Allow removing tabIndex
react-select sets input element's tabindex to 0 by default, setting tabIndex={null} will remove it
This commit is contained in:
2
types/react-select/lib/Select.d.ts
vendored
2
types/react-select/lib/Select.d.ts
vendored
@@ -194,7 +194,7 @@ export interface Props<OptionType> {
|
||||
/* Style modifier methods */
|
||||
styles?: StylesConfig;
|
||||
/* Sets the tabIndex attribute on the input */
|
||||
tabIndex?: string;
|
||||
tabIndex?: string | null;
|
||||
/* Select the currently focused option when the user presses tab */
|
||||
tabSelectsValue?: boolean;
|
||||
/* The value of the select; reflected by the selected option */
|
||||
|
||||
Reference in New Issue
Block a user