react_datepicker

1.0.0 • Public • Published

React Date-Picker

A React Date-Picker component built with ontop of the Nuclear FLUX implementation.

Dependencies

Installation

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(<DatePicker {...options} />, 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

Readme

Keywords

Package Sidebar

Install

npm i react_datepicker

Weekly Downloads

6

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bencripps