fix group.md eslint

This commit is contained in:
加缪 2015-12-24 15:13:23 +08:00 committed by afc163
parent 5000fa6b87
commit 6c5794e8ee

View File

@ -8,13 +8,13 @@ checkbox 组。
````jsx ````jsx
import { Checkbox } from 'antd'; import { Checkbox } from 'antd';
const CheckboxGroup = Checkbox.Group const CheckboxGroup = Checkbox.Group;
function onChange(checkedValues) { function onChange(checkedValues) {
console.log('checked = ', checkedValues); console.log('checked = ', checkedValues);
} }
ReactDOM.render(<label> ReactDOM.render(<label>
<CheckboxGroup options={['apple','pear']}onChange={onChange} /> <CheckboxGroup options={["apple", "pear"]}onChange={onChange} />
</label>, document.getElementById('components-checkbox-demo-group')); </label>, document.getElementById('components-checkbox-demo-group'));
```` ````