Skip to content

Commit 9c03e5f

Browse files
authored
Set number type for the tabIndex prop
react-component#44
1 parent 43e337c commit 9c03e5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface Props {
1414
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void,
1515
onChange?: (e: Event) => void,
1616
onClick?: (e: React.MouseEvent<HTMLInputElement>) => void,
17-
tabIndex?: string | number,
17+
tabIndex?: number,
1818
readOnly?: boolean,
1919
autoFocus?: boolean,
2020
value?: any,

0 commit comments

Comments
 (0)