import * as React from 'react';
import { Col, Checkbox, Row } from '@btri-ui/base';

export default () => {
  const onChange = e => {
    console.log(e);
  };
  const option = [
    { label: '选项一', value: 1 },
    { label: '选项二', value: 2 },
    { label: '选项三', value: 3 },
  ];
  return (
    <>
      <Row autoMode={true}>
        <Col span={6}>
          <Checkbox.Group
            options={option}
            defaultValue={[1]}
            onChange={onChange}
          />
        </Col>
      </Row>
    </>
  );
};
