react-persian-calender

1.0.0 • Public • Published

React Persian Calender

this is a simple yet practical persian calender for react.

screenshot-2017-10-2 react app

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.

/react-persian-calender/

    Package Sidebar

    Install

    npm i react-persian-calender

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • htondkar