Datepickr
Datepiker is a lightweight and powerful datetime picker. Use the required class varient (e.g. range_flatpicker, date_flatpicker, wrap_flatpicker active ) for different flatpickr. For more details
Installation
npm i vanillajs-datepicker
- For use of datepicker we create own custom file with the help of vanillajs-datepicker
- The navigation path of this file are src/component/datapickert.js
- For the use of datepicker file you want appear in your component please follow the below example code
Script
import Datepicker from "../../../components/datepicker";
const datepicker = () => {
return (
<>
<div className="input-group d-block">
<Datepicker className="vanila-datepicker" />
</div>
</>
)
}