From 2941db66e44256fe58bba8fc6c66f0286c50338d Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 28 May 2024 13:35:40 -0400 Subject: [PATCH] add
--- docs/docs/components/radio.md | 50 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/docs/docs/components/radio.md b/docs/docs/components/radio.md index 96b0a3e99..eb97102f3 100644 --- a/docs/docs/components/radio.md +++ b/docs/docs/components/radio.md @@ -8,8 +8,8 @@ Radios are designed to be used with [radio groups](/components/radio-group). ```html {.example} - Option 1 - Option 2 + Option 1
+ Option 2
Option 3
``` @@ -21,8 +21,8 @@ import WaRadioGroup from '@shoelace-style/shoelace/dist/react/radio-group'; const App = () => ( - Option 1 - Option 2 + Option 1
+ Option 2
Option 3
); @@ -41,8 +41,8 @@ To set the initial value and checked state, use the `value` attribute on the con ```html {.example} - Option 1 - Option 2 + Option 1
+ Option 2
Option 3
``` @@ -54,8 +54,8 @@ import WaRadioGroup from '@shoelace-style/shoelace/dist/react/radio-group'; const App = () => ( - Option 1 - Option 2 + Option 1
+ Option 2
Option 3
); @@ -68,8 +68,8 @@ Use the `disabled` attribute to disable a radio. ```html {.example} - Option 1 - Option 2 + Option 1
+ Option 2
Option 3
``` @@ -81,10 +81,8 @@ import WaRadioGroup from '@shoelace-style/shoelace/dist/react/radio-group'; const App = () => ( - Option 1 - - Option 2 - + Option 1
+ Option 2
Option 3
); @@ -97,24 +95,24 @@ Add the `size` attribute to the [Radio Group](/components/radio-group) to change ```html {.example} - Small 1 - Small 2 + Small 1
+ Small 2
Small 3

- Medium 1 - Medium 2 + Medium 1
+ Medium 2
Medium 3

- Large 1 - Large 2 + Large 1
+ Large 2
Large 3
``` @@ -125,24 +123,24 @@ import WaRadio from '@shoelace-style/shoelace/dist/react/radio'; const App = () => ( <> - Small 1 - Small 2 + Small 1
+ Small 2
Small 3

- Medium 1 - Medium 2 + Medium 1
+ Medium 2
Medium 3

- Large 1 - Large 2 + Large 1
+ Large 2
Large 3