Conditional statements inside useSVG? #2217
Unanswered
wesselvantilburg
asked this question in
Q&A
Replies: 1 comment
-
I haven't tried this particular use-case but |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was experiencing crashes when I put conditional statements inside of useSVG and I was wondering if there is a better way of doing this? (See below)
How I would like to use useSVG:
How I have to solve this now:
This is just a small example but I have many variants of svgs which I have to swap according to the data. Is there a better way to solve this?
Beta Was this translation helpful? Give feedback.
All reactions