-
-
Notifications
You must be signed in to change notification settings - Fork 53.4k
feat: ConfigProvider support classnames and styles for notification #52759
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
Conversation
|
👁 Visual Regression Report for PR #52759 Failed ❌
Important There are 2 diffs found in this PR: 🔄
|
Walkthrough: This pull request introduces a new feature to the ConfigProvider, allowing support for classnames and styles customization for notifications. The changes involve replacing the Changes:
|
@@ -34,13 +34,17 @@ export function getCloseIcon(prefixCls: string, closeIcon?: React.ReactNode): Re | |||
export interface PureContentProps { | |||
prefixCls: string; | |||
icon?: React.ReactNode; | |||
/** @deprecated Please use `title` instead */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The message
property is deprecated, and title
should be used instead. Ensure that all instances of message
are replaced with title
to maintain consistency and avoid deprecated warnings.
size-limit report 📦
|
More templates
commit: |
Bundle ReportChanges will increase total bundle size by 7.92MB (212.09%) ⬆️
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
Files in
Files in
|
Deploying ant-design with
|
Latest commit: |
088f36d
|
Status: | ✅ Deploy successful! |
Preview URL: | https://9c0ac8bf.ant-design.pages.dev |
Branch Preview URL: | https://cp-notifaction.ant-design.pages.dev |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #52759 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 765 765
Lines 13769 13781 +12
Branches 3601 3608 +7
=========================================
+ Hits 13769 13781 +12 ☔ View full report in Codecov by Sentry. |
🤔 This is a ...
📝 Change Log