Skip to content

Commit

Permalink
replace Joy with Mui
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jul 24, 2023
1 parent b037010 commit 9524231
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/data/joy/components/radio-button/radio-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,21 +197,21 @@ Visit the [WAI-ARIA documentation](https://www.w3.org/WAI/ARIA/apg/patterns/radi
The Radio Group component is composed of a root `<div>` element that can wrap multiple Radio components.

```html
<div class="JoyRadioGroup-root">
<div class="MuiRadioGroup-root">
<!-- Radio components here -->
</div>
```

The Radio component is composed of a root `<span>`, with further nested `<span>` elements for the radio button, icon, action (with a nested `<input>`), and its associated `<label>`.

```html
<span class="JoyRadio-root">
<span class="JoyRadio-radio">
<span class="JoyRadio-icon"></span>
<span class="JoyRadio-action">
<input class="JoyRadio-input">
<span class="MuiRadio-root">
<span class="MuiRadio-radio">
<span class="MuiRadio-icon"></span>
<span class="MuiRadio-action">
<input class="MuiRadio-input">
</span>
</span>
<label class="JoyRadio-label">
<label class="MuiRadio-label">
</span>
```

0 comments on commit 9524231

Please sign in to comment.