()
| 1012 | } |
| 1013 | |
| 1014 | render() { |
| 1015 | const { |
| 1016 | calendarMonthWidth, |
| 1017 | currentMonth, |
| 1018 | monthTransition, |
| 1019 | translationValue, |
| 1020 | scrollableMonthMultiple, |
| 1021 | focusedDate, |
| 1022 | showKeyboardShortcuts, |
| 1023 | isTouchDevice: isTouch, |
| 1024 | hasSetHeight, |
| 1025 | calendarInfoWidth, |
| 1026 | monthTitleHeight, |
| 1027 | } = this.state; |
| 1028 | |
| 1029 | const { |
| 1030 | enableOutsideDays, |
| 1031 | numberOfMonths, |
| 1032 | orientation, |
| 1033 | modifiers, |
| 1034 | withPortal, |
| 1035 | onDayClick, |
| 1036 | onDayMouseEnter, |
| 1037 | onDayMouseLeave, |
| 1038 | firstDayOfWeek, |
| 1039 | renderMonthText, |
| 1040 | renderCalendarDay, |
| 1041 | renderDayContents, |
| 1042 | renderCalendarInfo, |
| 1043 | renderMonthElement, |
| 1044 | renderKeyboardShortcutsButton, |
| 1045 | renderKeyboardShortcutsPanel, |
| 1046 | calendarInfoPosition, |
| 1047 | hideKeyboardShortcutsPanel, |
| 1048 | onOutsideClick, |
| 1049 | monthFormat, |
| 1050 | daySize, |
| 1051 | isFocused, |
| 1052 | isRTL, |
| 1053 | styles, |
| 1054 | theme, |
| 1055 | phrases, |
| 1056 | verticalHeight, |
| 1057 | dayAriaLabelFormat, |
| 1058 | noBorder, |
| 1059 | transitionDuration, |
| 1060 | verticalBorderSpacing, |
| 1061 | horizontalMonthPadding, |
| 1062 | navPosition, |
| 1063 | } = this.props; |
| 1064 | |
| 1065 | const { reactDates: { spacing: { dayPickerHorizontalPadding } } } = theme; |
| 1066 | |
| 1067 | const isHorizontal = this.isHorizontal(); |
| 1068 | |
| 1069 | const numOfWeekHeaders = this.isVertical() ? 1 : numberOfMonths; |
| 1070 | const weekHeaders = []; |
| 1071 | for (let i = 0; i < numOfWeekHeaders; i += 1) { |
nothing calls this directly
no test coverage detected