-
-
Notifications
You must be signed in to change notification settings - Fork 53.5k
feat: ConfigProvider support classnames and styles for switch #52849
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 #52849 Failed ❌
Warning There are more diffs not shown in the table. Please check the Full Report for details. Important There are 96 diffs found in this PR: 🔄
|
WalkthroughThis pull request introduces a new feature to the ConfigProvider component, allowing it to support custom class names and styles for the Switch component. This enhancement provides developers with more flexibility in styling the Switch component according to their needs. Changes
|
size-limit report 📦
|
More templates
commit: |
Bundle ReportChanges will decrease total bundle size by 7.9MB (-67.8%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
Files in
Files in
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/rc-switch@4.1.0 |
Deploying ant-design with
|
Latest commit: |
86c7686
|
Status: | ✅ Deploy successful! |
Preview URL: | https://a90252a5.ant-design.pages.dev |
Branch Preview URL: | https://cp-switch.ant-design.pages.dev |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #52849 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 765 765
Lines 13799 13799
Branches 3617 3617
=========================================
Hits 13799 13799 ☔ View full report in Codecov by Sentry. |
components/switch/demo/_semantic.tsx
Outdated
{ name: 'content', desc: locale.content, version: '6.0.0' }, | ||
]} | ||
> | ||
<Switch checkedChildren="on" unCheckedChildren="off" defaultChecked /> |
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.
中文版模板 / Chinese template
🤔 This is a ...
📝 Change Log