-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TreeView] Remove deprecated
TreeView
component (#15093)
- Loading branch information
1 parent
7061865
commit fc5bd87
Showing
23 changed files
with
78 additions
and
631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
103 changes: 0 additions & 103 deletions
103
docs/translations/api-docs/tree-view/tree-view/tree-view.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/x-codemod/src/v8.0.0/tree-view/preset-safe/actual.spec.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// @ts-nocheck | ||
import * as React from 'react'; | ||
import { TreeItem2 } from '@mui/x-tree-view/TreeItem2'; | ||
import { SimpleTreeView } from '@mui/x-tree-view/SimpleTreeView'; | ||
import { TreeView } from '@mui/x-tree-view/TreeView'; | ||
|
||
const className = treeViewClasses.root; | ||
|
||
// prettier-ignore | ||
<SimpleTreeView> | ||
<TreeItem2 nodeId="1" label="Item 1" /> | ||
</SimpleTreeView>; | ||
<TreeView> | ||
<TreeItem2 itemId="1" label="Item 1" /> | ||
</TreeView>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.