Tree component: is it possible to add "action item" along with other tree items? #2731
-
|
I have a requirement to add an action button like "+ Add entity" right inside the tree.
Is there any better variants to handle my situation? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
How about a third idea, add button outside the tree but beside the tree label (like VSCode)
|
Beta Was this translation helpful? Give feedback.
-
|
I also had similar issue. |
Beta Was this translation helpful? Give feedback.
-
|
We now support the upcoming v2 version. Stay tuned. |
Beta Was this translation helpful? Give feedback.

We now support the upcoming v2 version. Stay tuned.
https://github.com/chakra-ui/zag/blob/v2/examples/next-ts/app/tree-view/actions/page.tsx