JSPM

react-day-picker

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5805449
  • Score
    100M100P100Q206222F
  • License MIT

Customizable date picker and calendar component for React.js

Package Exports

  • react-day-picker

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

Customizable date picker and calendar component for React.js. See docs and examples.

  • select days, ranges, whatever with 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 and

Build Status Coverage Status npm version

Documentation

See the website for examples with code, API and tips. Release notes are here.

Usage

npm install react-day-picker --save
var React = require("react");
var DayPicker = require("react-day-picker");

var MyComponent = React.createComponent({

  render() {
    return <DayPicker initialMonth={new Date()} />
  }

});

Contribute

  • Use node ^4.0.
  • Use npm run test or npm run test:watch to run the unit tests.
  • Run npm run cover for a test coverage report.
  • To make sure files are linted: npm run lint
  • To run the website with examples use cd site && npm install && npm start, then visit localhost:3000
    • If you want to see your changes applied, remember to run npm install before running it!