Skip to content

Commit

Permalink
fix(Radio): change demo default state
Browse files Browse the repository at this point in the history
  • Loading branch information
guanpu committed Jul 10, 2019
1 parent 5437e37 commit e1a08f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/radio/theme/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ class RadioDefaultDemo extends React.Component {
</RadioGroup>
</DemoGroup>
<DemoGroup label="Selected">
<RadioGroup>
<Radio checked >{label}</Radio>
<RadioGroup defaultValue={1}>
<Radio value={1} >{label}</Radio>
</RadioGroup>
</DemoGroup>
<DemoGroup label="Selected & Hover">
<RadioGroup>
<Radio checked className="hovered" >{label}</Radio>
<RadioGroup defaultValue={1}>
<Radio value={1} className="hovered" >{label}</Radio>
</RadioGroup>
</DemoGroup>
<DemoGroup label="Disabled & Normal">
Expand Down

0 comments on commit e1a08f3

Please sign in to comment.