Use <Icon.Text>
in place of <Icon text>
prop
#338
kennethnym
started this conversation in
Ideas
Replies: 1 comment
-
This is added in #339 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As suggested here. Personally I think it makes more sense since it's a wrapper component rather than an "addon" that acts as a modifier of the base class, i.e. instead of adding to the base
icon
class likeicon icon-text
, it replaces theicon
class.Example:
cc @couds
Beta Was this translation helpful? Give feedback.
All reactions