fix ant-design eslint

This commit is contained in:
加缪 2015-12-24 15:07:18 +08:00 committed by afc163
parent e0e94ef709
commit 5000fa6b87
2 changed files with 2 additions and 2 deletions

View File

@ -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])
}

View File

@ -15,4 +15,4 @@ const Checkbox = React.createClass({
Checkbox.Group = Group;
export default Checkbox
export default Checkbox;