JSPM

react-day-picker

1.1.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6071487
  • Score
    100M100P100Q209297F
  • License MIT

Flexible date picker component for React

Package Exports

  • react-day-picker
  • react-day-picker/DayPicker
  • react-day-picker/lib/style.css
  • react-day-picker/moment
  • react-day-picker/utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-day-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-day-picker

build status coveralls npm downloads npm version Bower

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

  • select days, ranges, whatever using CSS modifiers
  • easily change style and add content to days cells
  • display multiple months
  • ready for i18n, with moment.js or any other library
  • navigable via keyboard, ARIA support
  • no external dependencies

screen shot 2015-11-11 at 15 51 07

Documentation and help

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.