mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(radio-button): allow value
type to be a number (#1868)
This commit is contained in:
parent
1d82eb67a0
commit
479225711a
6 changed files with 21 additions and 18 deletions
2
types/RadioButton/RadioButton.svelte.d.ts
vendored
2
types/RadioButton/RadioButton.svelte.d.ts
vendored
|
@ -8,7 +8,7 @@ export interface RadioButtonProps extends RestProps {
|
|||
* Specify the value of the radio button
|
||||
* @default ""
|
||||
*/
|
||||
value?: string;
|
||||
value?: string | number;
|
||||
|
||||
/**
|
||||
* Set to `true` to check the radio button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue