material ui vertical divider change color code example
Example 1: how to change materil ui divider coloer
<HomeIcon />
<HomeIcon color="primary" />
<HomeIcon color="secondary" />
<HomeIcon color="action" />
<HomeIcon color="disabled" />
<HomeIcon style={{ color: green[500] }} />
<HomeIcon style={{ color: 'red' }} />
Example 2: how to change materil ui divider coloer
const useStyles = makeStyles((theme) => ({
divider: {
background: theme.palette.divider,
},
}));
<Divider classes={{root: classes.divider}} />