1.0.5 • Published 8 months ago

ka-year-calendar v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Calendars

ka-year-calendar is a react calendars library, developed and maintained by Pradeep(pradeep@kiproshamerica.com).

Installation

Use the package manager to install ka-year-calendar.

yarn add ka-year-calendar
npm i ka-year-calendar

Usage

<YearsCalendar
  config={{
    alternateBgColor: '#eee',
    borderColor: '#999',
    defaultBgColor: '#fff',
    selBgColor: '#dcf5ff',
    selTextColor: 'pink',
    textColor: '#000',
  }}
  items={[
    {
      bgColor: 'red',
      date: new Date('2021-10-29T00:49:49.911Z'),
      data: {},
    },
    {
      bgColor: 'pink',
      date: new Date('2019-02-01T06:00:00.000Z'),
      data: {},
    },
    {
      bgColor: 'orange',
      date: new Date('2019-02-01T06:00:00.000Z'),
      data: {},
    },
    {
      bgColor: 'purple',
      date: new Date('2021-10-29T00:49:49.911Z'),
      data: {},
    },
  ]}
  onClick={(item) => {}}
/>

Demo

Demo

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago