Skip to content

Commit 3e7faf3

Browse files
committed
Allow portalContainer to be null
1 parent c6b619f commit 3e7faf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TimeRangePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type TimeRangePickerProps = {
8181
onClockOpen?: () => void;
8282
onFocus?: (event: React.FocusEvent<HTMLDivElement>) => void;
8383
openClockOnFocus?: boolean;
84-
portalContainer?: HTMLElement;
84+
portalContainer?: HTMLElement | null;
8585
rangeDivider?: React.ReactNode;
8686
required?: boolean;
8787
secondAriaLabel?: string;

0 commit comments

Comments
 (0)