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 |
Answered by
gabrieljablonski
Jan 27, 2023
Replies: 3 comments
|
Hi @bonbonio, please take a look at this section in our docs: https://react-tooltip.com/docs/examples/multiple-anchors |
0 replies
|
Has anyone managed to get this working? |
0 replies
|
@eannam Someone posted a working example over at the |
0 replies
Answer selected by
danielbarion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@eannam Someone posted a working example over at the
react-simple-mapsrepo.