@@ -8,11 +8,12 @@ Based on [implementation](https://github.com/shadcn-ui/ui/issues/355#issuecommen
88### [ DEMO] ( https://mrlightful.com/ui/tree-view )
99
1010## Features
11- - [x] Expand, collapse, and select items
12- - [x] Custom icons per item (default, open, selected)
13- - [x] Default node & leaf icons per tree view
14- - [x] Action buttons (e.g. a button to add a new item)
11+ - [x] Expand, collapse, and select items.
12+ - [x] Custom icons per item (default, open, selected).
13+ - [x] Default node & leaf icons per tree view.
14+ - [x] Action buttons (e.g. a button to add a new item).
1515- [x] Click handlers per tree item and per the entire tree view.
16+ - [X] Drag & drop support.
1617
1718## Installation
1819
@@ -92,11 +93,10 @@ const data: TreeDataItem[] = [
9293```
9394
9495## Roadmap
95- - [ ] Add support for disabled items (https://github.com/romatallinn/shadcn-tree-view/issues/1 )
96- - [ ] Add support for programmatically controlling items (https://github.com/romatallinn/shadcn-tree-view/issues/2 )
97- - [ ] Add support for striped and non-striped variants of the tree (https://github.com/romatallinn/shadcn-tree-view/issues/3 )
98- - [ ] Add support for custom item renderers (https://github.com/romatallinn/shadcn-tree-view/issues/4 )
99- - [ ] Add support for drag and drop? (not sure)
96+ - [ ] Add support for disabled items (https://github.com/romatallinn/shadcn-tree-view/issues/1 ).
97+ - [ ] Add support for programmatically controlling items (https://github.com/romatallinn/shadcn-tree-view/issues/2 ).
98+ - [ ] Add support for striped and non-striped variants of the tree (https://github.com/romatallinn/shadcn-tree-view/issues/3 ).
99+ - [ ] Add support for custom item renderers (https://github.com/romatallinn/shadcn-tree-view/issues/4 ).
100100
101101# License
102102Licensed under the MIT license, see [ ` LICENSE ` ] ( LICENSE ) .
0 commit comments