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

const { RangePicker } = DatePicker2;

ReactDOM.render(<div>
  <DatePicker2 disabled defaultValue="2021-02-12" /><br /><br />
  <RangePicker disabled defaultValue={[ '2021-01-12', '2021-02-12' ]} /><br /><br />
  <RangePicker
    // @ts-ignore
    disabled={[ false, true ]}
    theme='grey'
    defaultValue={[ '2021-01-12', '2021-02-12' ]} /><br /><br />
</div>, document.getElementById('date-picker2-demo-3'));

