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/SelectItem.svelte.d.ts
vendored
2
types/Select/SelectItem.svelte.d.ts
vendored
|
@ -6,7 +6,7 @@ export interface SelectItemProps {
|
|||
* Specify the option value
|
||||
* @default ""
|
||||
*/
|
||||
value?: string;
|
||||
value?: string | number;
|
||||
|
||||
/**
|
||||
* Specify the option text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue