mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs(radio-button): add reactive example
This commit is contained in:
parent
b10b4a4a10
commit
bc29d9ee0d
2 changed files with 42 additions and 0 deletions
|
@ -17,6 +17,12 @@ components: ["RadioButtonGroup", "RadioButton", "RadioButtonSkeleton"]
|
|||
</RadioButtonGroup>
|
||||
</FormGroup>
|
||||
|
||||
### Programmatic usage
|
||||
|
||||
Bind the selected value using the `selected` prop.
|
||||
|
||||
<FileSource src="/framed/RadioButton/ProgrammaticRadioButton" />
|
||||
|
||||
### Label text aligned left
|
||||
|
||||
<FormGroup legendText="Storage tier (disk)">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue