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

export default () => {
  const onChange = e => {
    console.log(e);
  };
  return (
    <>
      <Row autoMode={true}>
        <Col span={4}>
          <DatePicker onChange={onChange} />
        </Col>
        <Col span={4}>
          <DatePicker onChange={onChange} picker="week" />
        </Col>
        <Col span={4}>
          <DatePicker onChange={onChange} picker="month" />
        </Col>
        <Col span={4}>
          <DatePicker onChange={onChange} picker="quarter" />
        </Col>
        <Col span={4}>
          <DatePicker onChange={onChange} picker="year" />
        </Col>
        <Col span={4}>
          <DatePicker onChange={onChange} disabled />
        </Col>
      </Row>
    </>
  );
};
