mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
code style update
This commit is contained in:
parent
3922656566
commit
fab3280ed2
@ -23,7 +23,7 @@ var App = React.createClass({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
render() {
|
render() {
|
||||||
return<div>
|
return <div>
|
||||||
<RadioGroup onChange={this.onChange} value={this.state.value}>
|
<RadioGroup onChange={this.onChange} value={this.state.value}>
|
||||||
<Radio value="a">A</Radio>
|
<Radio value="a">A</Radio>
|
||||||
<Radio value="b">B</Radio>
|
<Radio value="b">B</Radio>
|
||||||
@ -31,7 +31,7 @@ var App = React.createClass({
|
|||||||
<Radio value="d">D</Radio>
|
<Radio value="d">D</Radio>
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
<div style={{marginTop: 20}}>你选中的: {this.state.value}</div>
|
<div style={{marginTop: 20}}>你选中的: {this.state.value}</div>
|
||||||
</div>
|
</div>;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
React.render(<App />, document.getElementById('components-radio-demo-radiogroup'));
|
React.render(<App />, document.getElementById('components-radio-demo-radiogroup'));
|
||||||
|
Loading…
Reference in New Issue
Block a user