Package Exports
- react-next-dates
- react-next-dates/dist/index.js
- react-next-dates/dist/react-next-dates.esm.js
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-next-dates) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Simple and Customizable DatePicker, DateRangePicker and TimePicker.
Installation
React Next Dates
is available on NPM.
For date operations and translations, React Next Dates use date-fns as peerDependencies. Don't forget to install it.
Install package
With NPM :
npm install react-next-dates date-fns --save
With Yarn :
yarn add react-next-dates date-fns
Peer Dependencies
Library | Version |
---|---|
date-fns | ^2.0.0 |
react | >=16 |
react-dom | >=16 |
Add styles
Don't forget to inject stylesheet on your app.
CSS
import 'react-next-dates/dist/style.css';
Sass
import 'react-next-dates/dist/style.scss';
See Theming Section
Documentation
All documentation is available on StoryBook.
Quick links :
Development
This library was created with dts
Credits
React Next Dates is highly inspired by :