-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Description
After updating react-native to 0.61.4, the following error appears:
Invariant Violation: 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.
Reproducible Demo
import { Calendar } from 'react-native-general-calendars';
const Component = () => {
return (
<Calendar
markedDates={{ '2012-05-17': { marked: true } }}
/>
);
};
Environment
- react-native 0.61.4 (Expo SDK 36.0.0)
- react-native-general-calendars 1.11.0
nicolaselorr, mamin75dev, iman2420 and december1990
Metadata
Metadata
Assignees
Labels
No labels