https://github.com/tometo-dev/react-treeview
treeview
https://github.com/tometo-dev/react-treeview
Last synced: about 1 year ago
JSON representation
treeview
- Host: GitHub
- URL: https://github.com/tometo-dev/react-treeview
- Owner: tometo-dev
- Created: 2024-02-08T11:48:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T13:22:10.000Z (over 2 years ago)
- Last Synced: 2025-05-08T21:51:30.398Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://react-treeview.vercel.app/
- Size: 128 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Explorer
---
### Problem Statement
You are given an initial structure for the file system. Write a react application to support the following features:
- Add a file/folder
- Rename a file/folder
- Delete a file/folder
#### Input
```js
{
id:"1",
name: "root",
items: [
{
id:"2",
name: "public",
items: []
},
{
id:"7",
name: "src",
items: [
{
id:"8",
name: "App.js",
},
{
id:"9",
name: "Index.js",
},
{
id:"10",
name: "styles.css",
}
]
},
]
};
```