Closed mertJF closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.89%. Comparing base (
65bcb7e
) to head (c7a151e
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Problem The current CalendarProps type definition is incorrect, leading to type errors when using the component. This issue arises because
React.PropsWithChildren
is a generic type that requires a type argument to specify the component's props.Same as: #5223
Changes This PR fixes the type definition by correctly combining
React.PropsWithChildren
withCalendarProps
. This ensures proper type checking and prevents potential runtime errors.Screenshots
Contribution checklist