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.
- use CSS modifiers to change the day’s style
- easily add content to days cells
- display multiple months
- ready for i18n, with moment.js or any library you use
- navigable via keyboard
- ARIA support
Documentation
See the website for examples with code, API and tips.
Usage
npm install react-day-picker --save
import React from "react";
import DayPicker from "react-day-picker";
class MyComponent extends React.Component {
render() {
return <DayPicker initialMonth={new Date()} />
}
}