A fully customizable datetime picker component library made with and for React.js
$ npm install @julienvanbeveren/react-datetime-pickerimport { DatePicker } from '@julienvanbeveren/react-datetime-picker'<DatePicker />| 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 |
- 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 😎
Also, see CONTRIBUTING.md for information on contributions for react-datetime-picker.
Julien Van Beveren
This repository's contents are subjected to be under the MIT License. © Julien Van Beveren