Closed songyouwei closed 8 years ago
Can I use a picture as the background not the text icon? Because in your suggestion, the icon or iconWithBar only use the font family .
@xubing Yes, what you can do is copy the content of iconWithBar and remove the Text component and replace it with Image component.
I will try to update the doc with more examples.
Give me a little bit more time.
Thanks
closing this issue because it has no activity
@songyouwei This is a low level component. You can easily add the badge by just implementing your Icon component. I have already provided 2 different Icon components built from RawIcon. This is very easy to implement. Take a look at these two implementation.
It would be a nice PR from you to implement an Icon with badge. and I would be happy to put it into the component core.