I am not sure why this happens in my visual studio code environment.
import React from 'react';
import {
AppBar,
ToolBar,
Typography,
} from '@material-ui/core';
const AppHeader = () => {
`<AppBar position="static"></AppBar>`
}
Also this is a standard react app. I just used the create-react-app
and ran yarn start
then I went into the src folder and made a file called AppHeader.js
and typed that line of code into it. I am running all the latest versions by the way.