Skip to content

Commit 1be6ea1

Browse files
authored
Add portalContainer prop to TypeScript typings (#412)
Closes #409
1 parent 06d16a2 commit 1be6ea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ declare module 'react-date-picker' {
2525
onCalendarClose?: () => void;
2626
onCalendarOpen?: () => void;
2727
openCalendarOnFocus?: boolean;
28+
portalContainer: HTMLElement;
2829
required?: boolean;
2930
showLeadingZeros?: boolean;
3031
yearAriaLabel?: string;

0 commit comments

Comments
 (0)