react-ultimate-calendar
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

📅 React Ultimate Calendar

Travis build MIT License

Zero dependency calendar with a localization support, dynamic or weekly range selection, and expanded view.

Install

npm install react-ultimate-calendar

Getting Started

import Calendar from "react-ultimate-calendar";

const start = new Date();
const end = new Date();
end.setDate(end.getDate() + 10);

const onChangeHandler = (weekNumber, startDate, end Date) => { ... }

<Calendar
  locale="de-DE"
  multi
  onChange={onChangeHandler}
  showWeekNumbers
  weeksSelector
  value={[start, end]} // Specify default selected range of 10 days from today
/>;

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.141latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.141
2.0.01
2.0.0-alpha.80
2.0.0-alpha.70
2.0.0-alpha.60
2.0.0-alpha.50
2.0.0-alpha.40
2.0.0-alpha.30
2.0.0-alpha.20
2.0.0-alpha.10
2.0.0-alpha.00
1.1.00
1.0.00
0.0.0-development0

Package Sidebar

Install

npm i react-ultimate-calendar

Weekly Downloads

42

Version

2.0.1

License

MIT

Unpacked Size

256 kB

Total Files

15

Last publish

Collaborators

  • maglovanyi