Skip to content

Commit bea162c

Browse files
committed
Allow portalContainer to be null
1 parent 7a284a4 commit bea162c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateTimeRangePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type DateTimeRangePickerProps = {
9191
onClockOpen?: () => void;
9292
onFocus?: (event: React.FocusEvent<HTMLDivElement>) => void;
9393
openWidgetsOnFocus?: boolean;
94-
portalContainer?: HTMLElement;
94+
portalContainer?: HTMLElement | null;
9595
rangeDivider?: React.ReactNode;
9696
required?: boolean;
9797
secondAriaLabel?: string;

0 commit comments

Comments
 (0)