From d85b0dfd0fe0890f2374c10279c4dcbad641d7f3 Mon Sep 17 00:00:00 2001 From: Jamison Dance Date: Fri, 8 Sep 2023 22:46:46 -0600 Subject: [PATCH 1/2] [lab] update treeview jsdoc comment Signed-off-by: Jamison Dance --- packages/mui-lab/src/TreeView/TreeView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-lab/src/TreeView/TreeView.tsx b/packages/mui-lab/src/TreeView/TreeView.tsx index 4f1b237244b9f6..0caf460cad793b 100644 --- a/packages/mui-lab/src/TreeView/TreeView.tsx +++ b/packages/mui-lab/src/TreeView/TreeView.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 migration 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 migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/. * @ignore - do not document. */ const TreeView = React.forwardRef(function DeprecatedTreeView( From 3e6da1063a534647586ddd38159308f80354cb3c Mon Sep 17 00:00:00 2001 From: ZeeshanTamboli Date: Mon, 25 Sep 2023 11:56:43 +0530 Subject: [PATCH 2/2] fix tree view deprecated comments --- packages/mui-lab/src/TreeItem/TreeItem.tsx | 2 +- packages/mui-lab/src/TreeView/TreeView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mui-lab/src/TreeItem/TreeItem.tsx b/packages/mui-lab/src/TreeItem/TreeItem.tsx index 99a7f7b758c315..0a621a679efba4 100644 --- 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 migration 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 migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/. * @ignore - do not document. */ const TreeItem = React.forwardRef(function DeprecatedTreeItem( diff --git a/packages/mui-lab/src/TreeView/TreeView.tsx b/packages/mui-lab/src/TreeView/TreeView.tsx index 0caf460cad793b..425ea16e11239a 100644 --- a/packages/mui-lab/src/TreeView/TreeView.tsx +++ b/packages/mui-lab/src/TreeView/TreeView.tsx @@ -23,7 +23,7 @@ const warn = () => { }; /** - * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/. + * @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/. * @ignore - do not document. */ const TreeView = React.forwardRef(function DeprecatedTreeView(