How can I create a bulleted list using MUI components? I have tried adding sx={{listStyleType:'disc'}}
to the List component, but no luck. Here is my code :
<List sx={{ listStyleType: 'disc' }}>
<ListSubheader sx={{
fontWeight: 700, lineHeight: '24px', fontSize: '16px', color: 'black'
}}
>
Search Help
</ListSubheader>
<ListItem>Double check your spelling</ListItem>
<ListItem>Your search may have been removed or is not yet in the system</ListItem>
</List>
I figured it out, needs to be
<List sx={{ listStyleType: 'disc' }}>
<ListItem sx={{ display: 'list-item' }}>
</List>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With