-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
Update useMenu.tsx #47921
base: master
Are you sure you want to change the base?
Update useMenu.tsx #47921
Conversation
Signed-off-by: Durgesh kumar prajapati <98798977+Durgesh4993@users.noreply.github.com>
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #47921 Passed ✅
🎊 Congrats! No visual-regression diff found. |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #47921 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 736 736
Lines 12664 12664
Branches 3325 3325
=========================================
Hits 12664 12664 ☔ View full report in Codecov by Sentry. |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
This alternative version of the
useMenu
hook refactors the code by:'antd'
.processMenuItem
andprocessGroup
to handle the transformation of sidebar items into menu items.ItemTag
component.These changes aim to make the code cleaner, more organized, and easier to understand. However, the effectiveness of these modifications may depend on the specific requirements and context of your project.
📝 Changelog
☑️ Self-Check before Merge