Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/DateRangePickerWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
HORIZONTAL_ORIENTATION,
ANCHOR_LEFT,
NAV_POSITION_TOP,
OPEN_DOWN,
} from '../src/constants';
import isInclusivelyAfterDay from '../src/utils/isInclusivelyAfterDay';

Expand Down Expand Up @@ -70,6 +71,7 @@ const defaultProps = {
keepOpenOnDateSelect: false,
reopenPickerOnClearDates: false,
isRTL: false,
openDirection: OPEN_DOWN,

// navigation related props
navPosition: NAV_POSITION_TOP,
Expand Down
3 changes: 2 additions & 1 deletion examples/SingleDatePickerWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import SingleDatePicker from '../src/components/SingleDatePicker';

import { SingleDatePickerPhrases } from '../src/defaultPhrases';
import SingleDatePickerShape from '../src/shapes/SingleDatePickerShape';
import { HORIZONTAL_ORIENTATION, ANCHOR_LEFT } from '../src/constants';
import { HORIZONTAL_ORIENTATION, ANCHOR_LEFT, OPEN_DOWN } from '../src/constants';
import isInclusivelyAfterDay from '../src/utils/isInclusivelyAfterDay';

const propTypes = {
Expand Down Expand Up @@ -56,6 +56,7 @@ const defaultProps = {
keepOpenOnDateSelect: false,
reopenPickerOnClearDate: false,
isRTL: false,
openDirection: OPEN_DOWN,

// navigation related props
navPrev: null,
Expand Down