Closed sakulstra closed 7 years ago
Hello, it's currently not possible to colorize a list item avatar icon, as the list-icon classes are removed here https://github.com/react-mdl/react-mdl/blob/master/src/List/ListItemContent.js#L24 .
<ListItemContent avatar={<Icon className="mdl-color--green" name="public" />}>
produces:
<i class="material-icons mdl-list__item-avatar">public</i>
instead of:
<i class="mdl-color--green material-icons mdl-list__item-avatar">public</i>
Best regards, Lukas
Hello, it's currently not possible to colorize a list item avatar icon, as the list-icon classes are removed here https://github.com/react-mdl/react-mdl/blob/master/src/List/ListItemContent.js#L24 .
produces:
instead of:
Best regards, Lukas