feat(select): support selected prop number type (#1355)

* feat(select): support number type

* Run "yarn build:docs"

* refactor(pagination): do not coerce `pageSize`, `page` to be numbers

* test(select): assert selected prop number type
This commit is contained in:
metonym 2022-06-18 11:09:41 -07:00 committed by GitHub
commit 78d3f1328a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 37 additions and 32 deletions

View file

@ -7,7 +7,7 @@ export interface SelectProps
* Specify the selected item value
* @default undefined
*/
selected?: string;
selected?: string | number;
/**
* Set the size of the select input