-
Notifications
You must be signed in to change notification settings - Fork 138
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
[comp: Alert]: add Alert component #43
Comments
@644395781 @danranVm 负责此组件的 review, API 设计完成后请 |
@danranVm @644395781 老哥们 看下这个API。 |
建议保留antd的 |
好的 , 加上了。 |
closetext也用属性吧,已经处理了close的回调,而且基本上也都是会用类似关闭,我知道了等文案作为关闭按钮
|
我的建议就这些,期待你的实现 |
这个再考虑一下吧,替换成关闭,我知道了 类似的文案的时候,一般会有特定的颜色。用户可能会需要自定义文本的颜色。 |
😘 |
|
主要有以下几点建议:
|
ok .那就去掉 |
What problem does this feature solve?
What does the proposed API look like?
props
success
、info
、warning
、error
info
,banner
模式下默认值为warning
false
,banner
模式下默认值为true
事件
slot
The text was updated successfully, but these errors were encountered: