-
-
Notifications
You must be signed in to change notification settings - Fork 53.5k
feat: ConfigProvider support classnames and styles for segmented #52376
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 #52376 Failed ❌
Important There are 1 diffs found in this PR: 🔄
|
WalkthroughThis pull request introduces a new feature to the ConfigProvider component, adding support for segmented semantic properties Changes
|
}} | ||
> | ||
{icon} | ||
</span> | ||
{label && <span>{label}</span>} |
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 label
span also supports custom classNames and styles similar to the icon
span to maintain consistency in customization options.
56d5d81
to
c6f87a1
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/rc-segmented@2.7.0 |
More templates
commit: |
Bundle ReportChanges will decrease total bundle size by 606 bytes (-0.02%) ⬇️. This is within the configured threshold ✅ Detailed changes
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #52376 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 760 760
Lines 13695 13695
Branches 3584 3584
=========================================
Hits 13695 13695 ☔ View full report in Codecov by Sentry. |
🤔 This is a ...
🔗 Related Issues
react-component/segmented#296
📝 Change Log
classNames
andstyles
.classNames
和styles
。