Best way to put simple content inside the node #872
-
I want to put a picture (png) inside the node. I found how can I do this in the documentation. I created a vue component and called it instead of the text in the "label". This works fine. But is there and easy way to do this without component just for one picture? |
Beta Was this translation helpful? Give feedback.
Answered by
bcakmakoglu
Apr 19, 2023
Replies: 1 comment 6 replies
-
What would be an "easier" way to do this for you? |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
bcakmakoglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would be an "easier" way to do this for you?
Labels already allow you to pass a component instead of a simple string (which I assume you're using judging from your post), it won't get much easier than that, I'm afraid 😄