Flatpickr
Installation
npm i react-flatpickr
Script
import Flatpickr from "react-flatpickr";
const Flatpicker = () => {
return (
<div className="form-group mb-0 ">
<Flatpickr options={ mode: "range", minDate: "today" } className="form-control range_flatpicker" placeholder="24 Jan 2022 to 23 Feb 2022" />
</div>
)
}