Skip to content
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] Drop TreeItem and rename TreeItem2 into TreeItem (same for useTreeItem2 and all related components) #14767

Closed
flaviendelangle opened this issue Sep 30, 2024 · 1 comment · Fixed by #14913
Assignees
Labels
breaking change component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module!

Comments

@flaviendelangle
Copy link
Member

flaviendelangle commented Sep 30, 2024

Part of #13188

The TreeItem2 component is becoming the default and only DX to customize the Tree Item, it should not longer have a 2 suffix.

  • TreeItem2 => TreeItem
  • useTreeItem2 (and unstable_useTreeItem2) => useTreeItem
  • TreeItem2Icon => TreeItemIcon
  • TreeItem2Provider => TreeItemProvider
  • useTreeItem2Utils => useTreeItemUtils
  • TreeItem2Root and other slots => TreeItemRoot etc...

Check the doc to remove any mention of TreeItem2 and any mention of the TreeItem API.

Search keywords:

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module!
Projects
None yet
1 participant