* docs: create a new UI docs project (#13233) * docs: create a new UI docs project * fix installation errors * docs: migrate UI docs content to new project (#13241) * Fix content * added examples for some components * finish adding examples * lint fix * fix build errors * delete empty files * path fixes + refactor * fix build error
24 lines
569 B
TypeScript
24 lines
569 B
TypeScript
import { RadioGroup } from "@medusajs/ui"
|
|
|
|
export default function RadioGroupChoiceBox() {
|
|
return (
|
|
<RadioGroup defaultValue="option1">
|
|
<RadioGroup.ChoiceBox
|
|
value="option1"
|
|
label="Option 1"
|
|
description="This is the first option."
|
|
/>
|
|
<RadioGroup.ChoiceBox
|
|
value="option2"
|
|
label="Option 2"
|
|
description="This is the second option."
|
|
/>
|
|
<RadioGroup.ChoiceBox
|
|
value="option3"
|
|
label="Option 3"
|
|
description="This is the third option."
|
|
/>
|
|
</RadioGroup>
|
|
)
|
|
}
|