|
1
|
import { RadioGroup } from "@medusajs/ui" |
|
2
|
|
|
3
|
export default function RadioGroupChoiceBox() { |
|
4
|
return ( |
|
5
|
<RadioGroup defaultValue="option1"> |
|
6
|
<RadioGroup.ChoiceBox |
|
7
|
value="option1" |
|
8
|
label="Option 1" |
|
9
|
description="This is the first option." |
|
10
|
/> |
|
11
|
<RadioGroup.ChoiceBox |
|
12
|
value="option2" |
|
13
|
label="Option 2" |
|
14
|
description="This is the second option." |
|
15
|
/> |
|
16
|
<RadioGroup.ChoiceBox |
|
17
|
value="option3" |
|
18
|
label="Option 3" |
|
19
|
description="This is the third option." |
|
20
|
/> |
|
21
|
</RadioGroup> |
|
22
|
) |
|
23
|
} |