Tabindex should be a number not a string

This commit is contained in:
Bilux 2022-10-15 13:52:05 +01:00 committed by GitHub
commit 89bd587dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 24 additions and 24 deletions

View file

@ -90,9 +90,9 @@ export interface ButtonProps
/**
* Specify the tabindex
* @default "0"
* @default 0
*/
tabindex?: string;
tabindex?: number;
/**
* Specify the `type` attribute for the button element