Open Vehmloewff opened 5 years ago
There could be a custom
prop that defaults to false
.
If custom
add the value of icon
to the class list on i
.
Else use the the material icons.
A Fontawesome implementation would look like this:
<IconButton
custom
name="fas fa-star"
/>
This adds great flexibility as well as ease of use.
I am not sure how would be done, but It would be really handy.