month year picker library based for iOS and androidOS with native support
npm install react-native-month-year-date-picker
UI Mode | Android | iOS |
---|---|---|
Light |
||
Dark |
import { MonthYearDatePickerView } from 'react-native-month-year-date-picker';
MonthYearDatePickerView.showPicker((result: {
monthName: string;
monthNumber: number;
year: number;
}) => {
// Your code you want to add
});
MonthYearDatePickerView.getPickerValue(
(result: { monthName: string; monthNumber: number; year: number }) => {
console.log('Selected', result);
// Your code you want to add
}
);
MonthYearDatePickerView.setPicker(10, 2029);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library