Skip to content

Commit 1a8a2e8

Browse files
Merge pull request #5406 from jingjing2222/fix-calendar-icon-optional
Fix: Make CalendarIconProps.icon optional to prevent type error
2 parents eee15d2 + 47e9062 commit 1a8a2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export type DatePickerProps = OmitUnion<
125125
| "selectsMultiple"
126126
| "dropdownMode"
127127
> &
128-
Pick<CalendarIconProps, "icon"> &
128+
Partial<Pick<CalendarIconProps, "icon">> &
129129
OmitUnion<PortalProps, "children" | "portalId"> &
130130
OmitUnion<
131131
PopperComponentProps,

0 commit comments

Comments
 (0)