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