React Date-Picker
A React Date-Picker component built with ontop of the Nuclear FLUX implementation.
Dependencies
-
React-
Nuclear-js-
RadiumInstallation
Component is written in ES6 and utilizes JSX, and thus requires transpilation. Please see
demo/built.jsx for more information about how to instantiate the component.
import React from 'react';
import DatePicker from 'path/to/DatePicker.jsx';
let options = {
dismissOnSelection: false
}
document.addEventListener('DOMContentLoaded', function() {
React.render(
, document.getElementById('datepicker-mount'));
});
Options
dismissOnSelection: Boolean
startDate: Date
triggerClassname: String
containerClassname: String
Test
npm run test
Questions/Issues
If you have any questions, contributions, or issues, you can contact me at
ben@benjamincripps.com