TreeView inside '@opensumi/ide-components'? #1941
-
I wonder if there is any built-in component for building a tree view like this? Or a 3rd-party react library would be needed? Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@nguyenhongphat0 Hi, I have created a sample about 'How to use OpenSumi BasicRecycleTree', see opensumi/opensumi-module-samples#13. The Hope this can help you ~ |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your quick response @erha19 🙏 |
Beta Was this translation helpful? Give feedback.
@nguyenhongphat0 Hi, I have created a sample about 'How to use OpenSumi BasicRecycleTree', see opensumi/opensumi-module-samples#13.
The
BasicRecycleTree
provide some simple features to help you build a TreeView, it's very simple, and based on theRecycleTree
component, you can evaluate whether it meets your needs, at the same time, there is also a more flexibleRecycleTree
component in the@opensumi/ide-components
, which can basically meet the customization capabilities of all TreeView views, if you expect to use, you can also refer to e.g opened-editor.tsx#L144.Hope this can help you ~