import Checkbox from '..';
import React from 'react';
import ReactDOM from 'react-dom';

const CheckboxGroup = () => (
  <div>
    <p>Programming language：</p>
    <Checkbox.Group aria-label="Please select a programming language">
      <Checkbox value="python">python</Checkbox>
      <Checkbox value="java">java</Checkbox>
      <Checkbox value="angular">angular</Checkbox>
      <Checkbox value="c">c</Checkbox>
      <Checkbox value="other">other</Checkbox>
    </Checkbox.Group>
  </div>
);

ReactDOM.render(<CheckboxGroup />, document.getElementById('checkbox-demo-9'));
