1.3.1 • Published 8 years ago

rangle-react-day-picker v1.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

react-day-picker is a flexible date picker component for React.

Look at some examples showing all its features!

build status coveralls npm downloads npm version Bower

Documentation

Contribute

  • Github – pull requests are welcome!
  • Issues – file bugs and suggestions
  • Gitter room – ask questions and chat with other developers

Quick start

Install via npm

npm install react-day-picker --save

and use it in your React components:

import DayPicker from "react-day-picker";

function isSunday(day) {
  return day.getDay() === 0;
}

function MyComponent() {
  return <DayPicker initialMonth={ new Date(2016, 1) } modifiers={{ isSunday }} />
}

Install via Bower

bower install react-day-picker --save

The bower package exposes a global DayPicker variable.