2.2.5 • Published 9 years ago

react-day-picker-substyled v2.2.5

Weekly downloads
18
License
MIT
Repository
github
Last release
9 years ago

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

Look at some examples showing all its features!

build status coveralls Code Climate npm downloads npm version Bower

How to use

Partecipate

  • Gitter room – ask questions and chat with other developers
  • Issues – file bugs and suggestions
  • Check out the source code on Github
  • Pull requests are welcome! If you are planning a pull request with lot of changes, please add an issue to discuss your idea first
    • See how to start the project locally here

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 }} />
}

If you are not using ES2015, until this is not fixed you should require the module as:

var DayPicker = require("react-day-picker").default

Install via Bower

bower install react-day-picker --save

The bower package exposes a global DayPicker variable.

2.2.5

9 years ago

2.2.4

9 years ago

2.2.3

9 years ago

2.2.2

9 years ago

2.2.1

10 years ago

2.2.0

10 years ago

2.1.3

10 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago