This code renders folders/files component using vanilla javascript, DOM APIs, css, html, and font-awesome. Input is a tree data structure resembling folder/files structure on a disk. It also supports collapsing/expanding of folders when a folder is clicked.
public
index.html
favicon.ico
robots.txt
src
components
timeline
index.js
index.test.js
styles.css
user
index.js
index.test.js
App.css
App.js
App.test.js
package.json
README.md