Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element type is invalid: expected a string (for built-in components) #18

Open
dinukasal opened this issue Jan 10, 2017 · 1 comment
Open

Comments

@dinukasal
Copy link

dinukasal commented Jan 10, 2017

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.
0-02-06-d43aa8cf35aa053f058cf44557c21dc13285b6fd9c4bfced84eb76031122dfee_full

I get this error when just using the material switch. Please help!

@airTradies
Copy link

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";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants