This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 245
Toolbar button icon is not working #172
Comments
I checked on the master branch. Icon prop does not pass to StyleButton.js from the blocktoolbar.js. I think because this issue, It was broken. @brijeshb42 I can fix and send a PR for you. If you want. |
Icon will show only for recognized strings. Font awesome is used underneath. If that icon exists, it will show up. Otherwise, it's better you send jsx in label to control the look fulky |
But when I checked on the code I didn't see any icon prop pass in to styleButton.js from the blocktoolbar.js
So styleButton.js icon show condition not pass. It always false.
Please correct me if I'm wrong. |
@brijeshb42 any update on this issue |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Toolbar button icon does show when I pass the icon through the toolbar configuration like this
The text was updated successfully, but these errors were encountered: