How to use react-tooltip
with react-simple-maps
?
#910
-
I wonder if anyone has used this with I tried doing the conversion of the import and changing the Content to but I also think I need to add a pair of ID's for every country? I'd rather use the single instance of a tooltip and set the label to the country dynamically – do I need to use the Provider approach? Many Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @bonbonio, please take a look at this section in our docs: https://react-tooltip.com/docs/examples/multiple-anchors |
Beta Was this translation helpful? Give feedback.
-
Has anyone managed to get this working? |
Beta Was this translation helpful? Give feedback.
-
@eannam Someone posted a working example over at the |
Beta Was this translation helpful? Give feedback.
@eannam Someone posted a working example over at the
react-simple-maps
repo.