-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Error when trying to use Card #2649
Comments
need theme context
or
|
But why do I need theme context, I'm not using a custom theme, and it's not mentioned in any documentation I have seen. |
@matt1as I don't think its related to theme. Could you try to find out exactly which one of these component is causing that error? I don't think it's related to |
Your import is wrong, please use stackoverflow for this type of question. import { Card, CardHeader, CardMedia, CardTitle, CardText, Avatar , CardActions, FlatButton} from 'material-ui/lib/card/card'; |
When trying to using Cards from the example page I get the following error
Error: Invariant Violation: 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 Classified
.My code is
The text was updated successfully, but these errors were encountered: