-
Notifications
You must be signed in to change notification settings - Fork 140
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
feat(comp:alert): add alert component #520
Conversation
This preview will be available after the AzureCI is passed. |
748c44e
to
e98fb8f
Compare
Codecov Report
@@ Coverage Diff @@
## main #520 +/- ##
==========================================
+ Coverage 84.12% 84.25% +0.13%
==========================================
Files 292 294 +2
Lines 7370 7431 +61
Branches 1453 1473 +20
==========================================
+ Hits 6200 6261 +61
Misses 1170 1170
Continue to review full report at Codecov.
|
e98fb8f
to
88abfb6
Compare
82d7d8d
to
5d9de21
Compare
b0de663
to
d9210da
Compare
需要解决一下 index.ts 的冲突,以及在 components.less 中,添加一下组件样式入口文件。 |
279f3e4
to
d64bd61
Compare
71de03c
to
f05e60e
Compare
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
add Alert component
What is the new behavior?
IxAlert
Props
closable
boolean
false
closeIcon
string | #closeIcon
close
description
string | #description
icon
string | #icon
showPagination
boolean
false
type
'success' | 'info' | 'warning' | 'error'
info
title
string | string[] | #default
onBeforeClose
() => boolean | Promise<boolean>
onClose
() => void
Other information