I recently incorporated a Material UI list component into my project.
Take a look at the code snippet I used:
<List>
<ListItem button>
<ListItemText
disableTypography
primary={<Typography>Hello</Typography>}
/>
<p>John</p>
<DraftsIcon />
</ListItem>
</List>
Here's the screenshot of how it looks: https://i.sstatic.net/UJckZ.png
I'm facing an issue with setting a fixed distance between "Hello" and "John". How can I accomplish this and avoid the positioning problem shown in the screenshot below: