import * as React from 'react';
import { Col, TimePicker, Row } from '@btri-ui/base';
import moment from 'moment';
import { format } from 'prettier';

export default () => {
  const onChange = (e) => {
    console.log(e);
  };
  return (
    <>
      <Row autoMode={true}>
        <Col span={6}>
          <TimePicker
            onChange={onChange}
            defaultValue={moment('00:00', 'HH:mm')}
            format="HH:mm"
          />
        </Col>
      </Row>
    </>
  );
};
