Loading problem…
Build a File Explorer component in React that displays a hierarchical file/folder structure. Users should be able to expand/collapse folders and select files or folders.
> Note: Use semantic HTML elements like <ul> and <li> for the tree structure. Avoid inline styles and use CSS classes instead.
Here's an example of the data structure you'll be working with: