mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
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:
parent
f8b1c8a23a
commit
78d3f1328a
8 changed files with 37 additions and 32 deletions
2
types/Select/Select.svelte.d.ts
vendored
2
types/Select/Select.svelte.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue