Skip to content

希望button的样式能扩充success、waring #8138

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

Open
1 task done
wiidz opened this issue Apr 22, 2025 · 1 comment
Open
1 task done

希望button的样式能扩充success、waring #8138

wiidz opened this issue Apr 22, 2025 · 1 comment

Comments

@wiidz
Copy link

wiidz commented Apr 22, 2025

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

类似于tag组件已经实现的color props
我是从其他的ui框架转来使用antdesign的,但是注意到button只有一个danger和primary,缺少了常用的success和waring。
希望可以在未来版本得到原生支持,谢谢!

What does the proposed API look like?

color="danger/success/primary/warning"

@selicens
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants