Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[新功能需求] wd-Button使用icon时,能像wd-icon一样,使用自定义图标 #310

Open
Creat55 opened this issue May 13, 2024 · 2 comments
Labels
feature 新特性

Comments

@Creat55
Copy link
Contributor

Creat55 commented May 13, 2024

这个功能解决了什么问题?

能在button中使用自定义图标

你期望的 API 是什么样子的?

参考wd-icon组件 通过 class-prefix 引入自定义图标

@Creat55 Creat55 added the feature: need confirm 待确认的新特性 label May 13, 2024
@Moonofweisheng
Copy link
Owner

暂时不支持,可以先使用默认插槽实现这个功能

@telangY
Copy link

telangY commented May 31, 2024

目前各端好像已经支持svg 可以加一下 确定微信小程序已经支持 不知道其他小程序是否支持 @Moonofweisheng

@Moonofweisheng Moonofweisheng added feature 新特性 and removed feature: need confirm 待确认的新特性 labels Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新特性
Projects
None yet
Development

No branches or pull requests

3 participants