material ui avatar text is not inline white background 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,
},
});