Open aravicubet opened 3 years ago
The current layout doesn't support the navigation arrows to the side of the calendar. Create a PR and add a prop to support that. You could implement it yourself by adding next/previous arrows to each side of the calendar, then set their callbacks to update the initialDate
prop. initialDate
may be any day of the month that you want the calendar to be on.
I tried with initialDate
. But the problem is if i select a date from one month, then change the initialDate
prop for navigating to next month, then it resets the from date thats already chosen and when touched on a date in the next month it reselect the date again in the case of selecting multiple dates.
I want to implement something like this, but when adding a component the calendar is pushed to the bottom and the component positions properly. How to position the next and previous component anwhere and call the required next, previous actions