A simple and reusable react component for hijir date pickre
npm install hijri-date-picker
npm i hijri-date-picker
`
Or with script tag
`html
`
Usage
$3
`javascript
import React from 'react';
import ReactDOM from 'react-dom';
import HijriDatePicker from 'hijri-date-picker';ReactDOM.render( , document.getElementById('root'));
`
$3
`html
React Hijri DatePicker
`
!without quick$3
this adds a quick select for year and month only add to the props quickSelect`Html
`for the tag example will be
quick-select="true"
`Html
`
$3
we are using moment and exactly moment hijri so any format for moment-hijri package will work fine, so any format must have the letter i before it e.g. (YYYY-MM-DD -> iYYYY-iMM-iDD`).Thank You @xsoh for the awesome package moment-hijri