React Datetime Picker
A fully customizable datetime picker component library made with and for React.js
Installation
$ npm install @julienvanbeveren/react-datetime-picker
Usage
Quick start
import { DatePicker } from '@julienvanbeveren/react-datetime-picker'
<DatePicker />
Documentation
prop | type | required | default | description |
---|---|---|---|---|
minDate | Date | false | - | disables all dates before the specified date |
maxDate | Date | false | - | disables all dates after the specified date |
defaultValue | Date | false | - | sets selected date to the provided defaultDate |
submitOnChange | boolean | false | false | removes submit button and auto submits when date is clicked |
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
😎
Authors
Julien Van Beveren
License
This repository's contents are subjected to be under the MIT License. © Julien Van Beveren