diff --git a/components/checkbox/Group.js b/components/checkbox/Group.js index 1359aa4491..1c9e3e9775 100644 --- a/components/checkbox/Group.js +++ b/components/checkbox/Group.js @@ -30,7 +30,7 @@ export default React.createClass({ }, render() { const options = this.props.options; - return (
+ return (
{options.map(option => [, option]) } diff --git a/components/checkbox/index.jsx b/components/checkbox/index.jsx index 1b803af76d..b04ab10b61 100644 --- a/components/checkbox/index.jsx +++ b/components/checkbox/index.jsx @@ -15,4 +15,4 @@ const Checkbox = React.createClass({ Checkbox.Group = Group; -export default Checkbox +export default Checkbox;