Skip to content

Commit b5a0b2c

Browse files
committed
Allow portalContainer to be null
1 parent 4246ea1 commit b5a0b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateRangePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type DateRangePickerProps = {
8080
onChange?: (value: Value) => void;
8181
onFocus?: (event: React.FocusEvent<HTMLDivElement>) => void;
8282
openCalendarOnFocus?: boolean;
83-
portalContainer?: HTMLElement;
83+
portalContainer?: HTMLElement | null;
8484
rangeDivider?: React.ReactNode;
8585
required?: boolean;
8686
showLeadingZeros?: boolean;

0 commit comments

Comments
 (0)