react-month-year-picker
ReactJs component for selecting month and year
Install
npm install --save react-month-year-picker
Usage
import React Component from 'react'; import MonthYearPicker from 'react-month-year-picker'; { ; thisstate = month: 10 year: 2018 ; } { return <div> <MonthYearPicker = = = = = = /> <h3>Selected month: thisstatemonth</h3> <h3>Selected year: thisstateyear</h3> </div> ; }
Run demo
npm run buildcd examplenpm start
License
MIT © nclong87