mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 04:39:19 +00:00
parent
4d51250173
commit
c5d6ad8e7c
4 changed files with 39 additions and 17 deletions
10
types/RadioButton/RadioButton.svelte.d.ts
vendored
10
types/RadioButton/RadioButton.svelte.d.ts
vendored
|
@ -16,11 +16,17 @@ export interface RadioButtonProps
|
|||
checked?: boolean;
|
||||
|
||||
/**
|
||||
* et to `true` to disable the radio button
|
||||
* Set to `true` to disable the radio button
|
||||
* @default false
|
||||
*/
|
||||
disabled?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` to mark the field as required
|
||||
* @default false
|
||||
*/
|
||||
required?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the label position
|
||||
* @default "right"
|
||||
|
@ -46,7 +52,7 @@ export interface RadioButtonProps
|
|||
id?: string;
|
||||
|
||||
/**
|
||||
* Specify a name attribute for the checkbox input
|
||||
* Specify a name attribute for the radio button input
|
||||
* @default ""
|
||||
*/
|
||||
name?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue