mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
fix ant-design eslint
This commit is contained in:
parent
e0e94ef709
commit
5000fa6b87
@ -30,7 +30,7 @@ export default React.createClass({
|
||||
},
|
||||
render() {
|
||||
const options = this.props.options;
|
||||
return (<div className='ant-checkbox-group'>
|
||||
return (<div className="ant-checkbox-group">
|
||||
{options.map(option =>
|
||||
[<Checkbox disabled={this.props.disabled} checked={this.state.value.indexOf(option) !== -1} onChange={this.toggleOption.bind(this, option)}/>, option])
|
||||
}
|
||||
|
@ -15,4 +15,4 @@ const Checkbox = React.createClass({
|
||||
|
||||
Checkbox.Group = Group;
|
||||
|
||||
export default Checkbox
|
||||
export default Checkbox;
|
||||
|
Loading…
Reference in New Issue
Block a user