Closed void-m4110c closed 3 years ago
Sorry I don't really monitor this repo. Not sure my guess is that tile.icon
isn't actually set.
{tile.icon}
in the template above the icon tag and see if the value renders.
Closing this out as I assume it's so old it was solved (hopefully).
Hi,
I have a data array of tile-objects over witch I map, to generate some Material-UI grid.
I want to generate multiple grid-items (Cards) with different Icons. However, passing
<Icon path={tile.icon}....
(tile.icon is the string "mdiCog") does not display anything. If I insert<Icon path={mdiCog}....
it works perfectly.What am I overlooking?