Create a React component that displays a hierarchical tree structure. The tree should allow users to expand and collapse nodes to view more or less detail.
You can use this Stackblitz as a starter. Or setup locally by following the below instructions
Install the dependencies:
npm install
Start the dev server:
npm start
Build the app for production:
npm run build
Preview the production build locally:
npm preview