I'm getting started with TypeScript for React combined with Material UI and I'm getting stuck with my very first component.
// material
import { Box } from '@material-ui/core';
// ----------------------------------------------------------------------
export default function Logo() {
return (
<Box
component="img"
alt="logo"
src="/static/brand/logo.svg"
height={40}
/>
);
}
I am getting errors at alt and src: No overload matches this call. I have the feeling that this is related to some configuration of the repo, but I still don't know what.
Thanks in advance for the help :)