Skip to content

Instantly share code, notes, and snippets.

@michelts
Last active October 10, 2021 13:42
Show Gist options
  • Save michelts/0a6d2d768cd126739754270dfe1a95fb to your computer and use it in GitHub Desktop.
Save michelts/0a6d2d768cd126739754270dfe1a95fb to your computer and use it in GitHub Desktop.
const FolderTree = ({folders}) => (
<ul>
{folders.map(folder => (
<li key={folder.name}>
{folder.name}
</li>
))}
</ul>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment