feat: Add displayCompact options and new icon styles#69
Closed
chacha912 wants to merge 2 commits intomicrolinkhq:masterfrom
Closed
feat: Add displayCompact options and new icon styles#69chacha912 wants to merge 2 commits intomicrolinkhq:masterfrom
chacha912 wants to merge 2 commits intomicrolinkhq:masterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Member
|
It's nice! What could be more interesting is, rather than having a list of fixed icons, to provide a way to fully customize the icon. If the icon could be specified as a function, then it would be easier to use any icon rendered by the function, following this pattern: https://reactpatterns.com/#render-prop What do you think? |
Member
|
ping @chacha912 in case you missed the notification 🙂 |
Member
|
Closing under no response. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces new display options to enhance the visualization of nested data structures and provides additional icon style choices for a more customizable user experience.
Changes
displayCompactoption that hides ':', '{', and '[' symbols for non-leaf nodes, creating a cleaner visualization of nested structureschevronstyle alongside the existingtrianglestylecustom.mov
I've updated the readme and demo as well.
Expecting to your feedback. Thank you.
Fixed #68