Skip to content

Commit c8a8b15

Browse files
committed
Allow portalContainer to be null
1 parent 4c34afc commit c8a8b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateTimePicker.tsx

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

0 commit comments

Comments
 (0)