Skip to content

Commit

Permalink
Allow portalContainer to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Apr 5, 2023
1 parent 4246ea1 commit b5a0b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type DateRangePickerProps = {
onChange?: (value: Value) => void;
onFocus?: (event: React.FocusEvent<HTMLDivElement>) => void;
openCalendarOnFocus?: boolean;
portalContainer?: HTMLElement;
portalContainer?: HTMLElement | null;
rangeDivider?: React.ReactNode;
required?: boolean;
showLeadingZeros?: boolean;
Expand Down

0 comments on commit b5a0b2c

Please sign in to comment.