Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29766

Material Ui - Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function

$
0
0

When I am loading this LoginScreen.js I m getting the above mentioned exception.Before that I had installed

npm install @material-ui/core

import React from 'react';import {Button} from '@material-ui/core/Button';import { View } from 'react-native';export default function LoginScreen() {  return (<View><Button></Button></View>  );}

Viewing all articles
Browse latest Browse all 29766

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>