Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-simple-month-year-picker

iiqbalT92MIT1.2.1

Simple react native month year picker with modal

month-year-picker, modal, picker, simple-picker, react-native-month-picker, react-native-simple-month-year-picker

readme

react-native-simple-month-year-picker

Simple react native month year picker with modal

Simple react native month year picker with modal is a simple component inspired from react-native-month-picker.

install

npm install react-native-simple-month-year-picker --save

how to use

import MonthYearPicker from 'react-native-simple-month-year-picker';
<MonthYearPicker
    isShow={isShow}
    close={() => setIsShow(false)} //setState isShow to false
    onChangeYear={(year) => console.log(year)}
    onChangeMonth={(month) => {
        console.log(month)
    }}
/>