Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Info Panel position #989

Merged
merged 12 commits into from
Feb 13, 2018
Merged
4 changes: 4 additions & 0 deletions src/components/DateRangePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import {
OPEN_UP,
DAY_SIZE,
ICON_BEFORE_POSITION,
INFO_POSITION_BOTTOM,
FANG_HEIGHT_PX,
DEFAULT_VERTICAL_SPACING,
} from '../constants';
Expand Down Expand Up @@ -80,6 +81,7 @@ const defaultProps = {
keepOpenOnDateSelect: false,
reopenPickerOnClearDates: false,
renderCalendarInfo: null,
calendarInfoPosition: INFO_POSITION_BOTTOM,
hideKeyboardShortcutsPanel: false,
daySize: DAY_SIZE,
isRTL: false,
Expand Down Expand Up @@ -329,6 +331,7 @@ class DateRangePicker extends React.Component {
renderCalendarDay,
renderDayContents,
renderCalendarInfo,
calendarInfoPosition,
firstDayOfWeek,
initialVisibleMonth,
hideKeyboardShortcutsPanel,
Expand Down Expand Up @@ -409,6 +412,7 @@ class DateRangePicker extends React.Component {
renderCalendarDay={renderCalendarDay}
renderDayContents={renderDayContents}
renderCalendarInfo={renderCalendarInfo}
calendarInfoPosition={calendarInfoPosition}
isFocused={isDayPickerFocused}
showKeyboardShortcuts={showKeyboardShortcuts}
onBlur={this.onDayPickerBlur}
Expand Down
Loading