Caravane2 Reactjs DatePicker
npm install --save kouloughli-picker
import React, { Component } from 'react'
import RangeDatePicker from 'kouloughli-picker'
import 'kouloughli-picker/dist/index.css'
class Example extends Component {
render() {
return <RangeDatePicker
startDate={new Date()}
endDate={new Date()}
onChange={(startDate, endDate) => console.log(startDate, endDate)}
minDate={new Date(2000, 0, 1)}
maxDate={new Date(2060, 0, 1)}
dateFormat="D"
monthFormat="MMM YYYY"
startDatePlaceholder="Start Date"
endDatePlaceholder="End Date"
disabled={false}
className="my-own-class-name"
startWeekDay="monday"
/>
}
}
MIT © [Kouloughli Hemza](https://github.com/Kouloughli Hemza)