-
-
Notifications
You must be signed in to change notification settings - Fork 53.4k
feat: ConfigProvider support popconfirm #52126
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 #52126 Failed ❌
Warning There are more diffs not shown in the table. Please check the Full Report for details. Important There are 34 diffs found in this PR: 🔄 34 changed.
|
WalkthroughThis pull request introduces a new feature to the ConfigProvider by adding support for Popconfirm. It includes changes to various components to replace deprecated properties with new ones, enhancing the styling and configuration capabilities of Popconfirm and related components. Changes
|
...restProps | ||
} = props; | ||
|
||
const { getPrefixCls } = React.useContext(ConfigContext); | ||
const { getPrefixCls, popconfirm } = React.useContext(ConfigContext); |
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.
Ensure that the popconfirm
context value is correctly provided and used within the component. If popconfirm
is undefined, it might lead to runtime errors when accessing its properties. Consider adding a default value or a check before accessing popconfirm
properties.
More templates
commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature #52126 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 763 763
Lines 13726 13727 +1
Branches 3585 3585
=========================================
+ Hits 13726 13727 +1 ☔ View full report in Codecov by Sentry. |
🤔 This is a ...
close #50303
📝 Change Log