Skip to content

Commit

Permalink
feat(radio): supplement more demo about variant option for RadioGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW committed Nov 3, 2023
1 parent 73c6913 commit b1a1cb2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/radio/_example/group.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,20 @@ export default function RadioExample() {
</Radio.Group>

<Radio.Group value={city2} options={objOptions} allowUncheck onChange={setCity2} />
<Radio.Group
variant='default-filled'
value={city2}
options={objOptions}
onChange={setCity2}
/>

<Radio.Group value={city3} options={itemOptions} onChange={setCity3} />
<Radio.Group
variant='primary-filled'
value={city3}
options={itemOptions}
onChange={setCity3}
/>
</Space>
);
}

0 comments on commit b1a1cb2

Please sign in to comment.