Commit 47e9062
committed
Fix: Make CalendarIconProps.icon optional
- Changed CalendarIconProps.icon from required to optional
- Updated related types to avoid breaking changes
- Ensured backward compatibility
Using React 18.3.1, the 'icon' property obtained via Pick became required, causing a type error.
To prevent this issue, I explicitly marked 'icon' as optional by using Partial.1 parent 8883ad1 commit 47e9062
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments