react-persian-calender
v1.0.0
Published
A persian calender in react
Downloads
10
Readme
React Persian Calender
this is a simple yet practical persian calender for react.
Important note
this component is dependant on "moment-jalaali" package so make sure you install that first.
Install
npm install --save react-persian-calender
Use
import Calender from 'react-persian-calender'
// your component details ...
render() {
<Calender onChange={handler}>
}
Props
the only prop right now is onChange
which accepts a function.
you can use your own styles just override the current styles using css.