react-day-input
A simple date picker for React, powered by Moment.
Live Demo
Check out the live demo here: http://abasystems.github.io/react-day-input/
Installation
Install the package with npm:
npm install react-day-input
Then require and use with ES6 imports:
Component { superprops; thisstate = ...thisstate dueBy: null ; } { return <form> <StrictDayInput value=thisstatedueBy onChange= { this; } /> <button type="submit">Submit</button> </form> ; }
And include the built css with an import:
;
or tag:
Full reference documentation coming soon. For now, take a look at the reference on the live demo at http://abasystems.github.io/react-day-input/.