Button support custom icon
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
Button can set custom icon
What does the proposed API look like?
<Button type="primary" icon={<MyIcon type="game" />} />
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to use CUSTOM ICONS in BUTTON - GeneratePress
I want to use shopping icon like this: https://www.w3schools.com/icons/tryit.asp?icon=fas_fa-shopping-cart&unicon=f07a
Read more >Custom Image Buttons - AddToAny
Custom Image Buttons. Use the following code as a template for using custom icons. Custom icons. <div class ...
Read more >How to add custom icons to a button? - Support - Kriesi.at
Is there any way to add a custom icon to a button, instead of using one already in the icon options? January 12,...
Read more >Button support custom icon #4588 - primefaces/primeng
I want to use my own svg icon instead of font-awesome icon. suggest to provide a new attribute to button component for developer...
Read more >How to add custom icons in buttons and well control - Support
HI All,. I would like to show my own icon to controls like button and well. As of now it allows me to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://codesandbox.io/s/236rjw2j7p
这样就行了。
@zombieJ @afc163 其实是想要实现自定义 Icon 所以 @zombieJ 的更符合,但是还是抖动~
https://codesandbox.io/s/v0jq048yol
自己覆盖
loading
又会丢了loading
的{ delay: 150 }
用法!迷之抖动~