Errors / Warnings related to props when attempting to extend the Datepicker to custom component with extended props
Describe the bug
After upgrading from 6.9 to 7.5, I am unable to extend the original datepicker component into a new component, using the original datepicker-props interface extended with new props. The following error message is displayed:
Understanding that the props are not defined using an interface anymore, but rather a type. I extended the props as a type instead, yielding the following error message:
As well as the current errors / warnings when trying to access the props:
This error is probably ignoreable, but I'm not entirely sure of the ramifications of doing so.
There's possibly a super smooth way of doing this that I'm not seeing, so I figured I'd ask here.
Expected behavior It should be possible to extend or derive the original props to extend react-datepicker to own components without errors or warnings.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version [e.g. 7.5]
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.