Created
March 4, 2024 10:28
-
-
Save keyurparalkar/7f3d5cd8141a2395b44e4dc22a18ab2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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