You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `Calendar`.
Import trace for requested module:
./src/components/event/calendar.tsx
⚠ ./src/components/event/calendar.tsx
Attempted import error: 'react-calendar-toolkit' does not contain a default export (imported as 'Datepicker').
Warning: Datepicker: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
but component is rendered, the ts definition file is wrong and not consistent with the js code.
The text was updated successfully, but these errors were encountered:
Hi, I'm getting this error:
basically I've a event/page.tsx placed in src/app
and the basic example as Calendar
do you know what could be the problem here? thanks
UPDATE!
after create my custom d.ts file
this work as expected, I get a warning
but component is rendered, the ts definition file is wrong and not consistent with the js code.
The text was updated successfully, but these errors were encountered: