Skip to content

Instantly share code, notes, and snippets.

@keyurparalkar
Created March 4, 2024 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keyurparalkar/7f3d5cd8141a2395b44e4dc22a18ab2b to your computer and use it in GitHub Desktop.
Save keyurparalkar/7f3d5cd8141a2395b44e4dc22a18ab2b to your computer and use it in GitHub Desktop.
tree.children.map((item) => (
<li key={`key-${item.id}`}>
<CustomDetails
icons={item.icons}
name={item.name}
renderTree={<RecursiveTree tree={item} />}
/>
</li>
))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment