-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[TreeView][lab] Fix JSDoc comments in TreeView and TreeItem #38874
Conversation
Signed-off-by: Jamison Dance <[email protected]>
Netlify deploy previewhttps://deploy-preview-38874--material-ui.netlify.app/ Bundle size report |
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.
@jergason Thanks for the fix! Could you also update it in the Tree Item file?
--- a/packages/mui-lab/src/TreeItem/TreeItem.tsx
+++ b/packages/mui-lab/src/TreeItem/TreeItem.tsx
@@ -23,7 +23,7 @@ const warn = () => {
};
/**
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this mi
gration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
+ * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migra
tion on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
* @ignore - do not document.
*/
const TreeItem = React.forwardRef(function DeprecatedTreeItem(
Additionally, please merge with the latest master branch.
I fixed this. I was not able to push on your branch so I had added this comment, but now I could. |
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.
Thank you!
Signed-off-by: Jamison Dance <[email protected]> Co-authored-by: ZeeshanTamboli <[email protected]>
Update the JSDoc comment to point folks to the
@mui/x-tree-view
package instead of@mui/x-date-pickers
.