Trying to use Material ui Typography
within a Chip
component, but my contents are displaying on two separate rows instead of one continuous row without any line breaks. Here is the code snippet:
<Typography className={classes.title} style={{ display: 'inline' }} color="textSecondary" gutterBottom>
{chipName}
<img src={chipIIcon} style={{ marginLeft: '90%' }} alt="chipIIcon" />
</Typography>
What might be causing this issue in my code and how can I ensure that both chipName
and img
are displayed on the same row?