I'm building a calendar page for an app and want the month and month change arrows to be displayed next to the calendar rather than on top of it. So I have removed the header component created a View component next to it. However I am unable to figure out how to change the month when the next month button is pressed.
Is it possible to forward subtractMonth() function of react native calendars to a different component like a button?
1.7k views Asked by Sankomil At
1
Probably using refs
Now you can pass the calendarRef to other components and use this
Note : Found it here https://github.com/wix/react-native-calendars/issues/764