image in material ui code example
Example 1: display logo in material ui
<AppBar color="inherit">
<Toolbar>
<img src="logo.png" alt="logo" className={classes.logo} />
</Toolbar>
</AppBar>
Example 2: display logo in material ui
const useStyles = makeStyles({
logo: {
maxWidth: 160,
},
});
Example 3: insert image material ui
npm install material-ui-image