reactjs-persian-calendar
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

reactjs persian calendar

reactjs persian calendar

reactjs persian calendar online Demo

NPM version NPM downloads NPM downloads MIT License Build Status

npm i reactjs-persian-calendar
 
import JCalendar from 'reactjs-persian-calendar'
 
// your component details ...
render() {
  <JCalendar 
      locale={'fa'} 
      color={'#000066'}
      size={30}
      onClick={console.log}
      itemRender={(key, item, children) => children}
  />
}
 

props

locale:     [string]    'fa' or 'en',
color:      [string]    '#660000' or 'red' or 'rgb(250,0,0)',
size:       [number]    30 size of calendar item
onClick:    [function]  callback onClick on any day item,
itemRender: [function]  change render any item in calendar,

Javad Shariati jsh1400@yahoo.com

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i reactjs-persian-calendar

    Weekly Downloads

    4

    Version

    1.1.7

    License

    MIT

    Unpacked Size

    302 kB

    Total Files

    5

    Last publish

    Collaborators

    • jsh1400