Open dinukasal opened 7 years ago
I am receiving the same message. Almost as though it is from the import statement maybe. I ahve tried the following..
import { Switch, Thumb } from "react-native-material-kit";
import Switch, Thumb from "react-native-material-kit";
import Switch from "react-native-material-kit";
import { Switch } from "react-native-material-kit";
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of
project_name
.I get this error when just using the material switch. Please help!