-
-
Notifications
You must be signed in to change notification settings - Fork 53.4k
feat: ConfigProvider support classNames and styles for tree #53174
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 #53174 Passed ✅
🎊 Congrats! No visual-regression diff found. |
WalkthroughThis pull request introduces a new feature to the Changes
|
@@ -158,7 +170,15 @@ export interface TreeProps<T extends BasicDataNode = DataNode> | |||
} | |||
|
|||
const Tree = React.forwardRef<RcTree, TreeProps>((props, ref) => { |
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 useComponentConfig
hook is correctly handling the context values for classNames
and styles
. Any misconfiguration here could lead to incorrect styling of the Tree
component.
size-limit report 📦
|
Deploying ant-design with
|
Latest commit: |
fb631a2
|
Status: | ✅ Deploy successful! |
Preview URL: | https://9d56aa45.ant-design.pages.dev |
Branch Preview URL: | https://cp-tree.ant-design.pages.dev |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #53174 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 778 778
Lines 13995 13997 +2
Branches 3671 3671
=========================================
+ Hits 13995 13997 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
069d5c8
to
1ff3f69
Compare
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@types/node@22.13.10 |
More templates
commit: |
Bundle ReportChanges will decrease total bundle size by 7.8MB (-66.66%) ⬇️. 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
|
🤔 This is a ...
wait for react-component/tree#928
and needs test.
📝 Change Log