Closed Fivedark closed 5 years ago
According to https://material-ui.com/getting-started/usage/, the correct import is:
import Button from '@material-ui/core/Button';
Try that.
Also have this issue for both import styles:
import Button from '@material-ui/core/Button';
import { Button } from '@material-ui/core';
The Material UI Button or List crashes ReactQL. Other Material UI components like Card and Chip working fine.
Steps to reproduce:
yarn add @material-ui/core
import {Button} from "@material-ui/core";
at line 48:<Button>Test</Button>
yarn start
localhost:3000
Expected result: To see a button under the headline.
Actual result: Empty page with a lot of warnings and errors in browser console. Last error is: