(e)
| 736 | } |
| 737 | |
| 738 | getPrevScrollableMonths(e) { |
| 739 | const { numberOfMonths, onGetPrevScrollableMonths } = this.props; |
| 740 | if (e) e.preventDefault(); |
| 741 | |
| 742 | if (onGetPrevScrollableMonths) onGetPrevScrollableMonths(e); |
| 743 | |
| 744 | this.setState(({ currentMonth, scrollableMonthMultiple }) => ({ |
| 745 | currentMonth: currentMonth.clone().subtract(numberOfMonths, 'month'), |
| 746 | scrollableMonthMultiple: scrollableMonthMultiple + 1, |
| 747 | })); |
| 748 | } |
| 749 | |
| 750 | maybeTransitionNextMonth(newFocusedDate) { |
| 751 | const { numberOfMonths } = this.props; |
no test coverage detected