Skip to content

Instantly share code, notes, and snippets.

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