How use usePopperTooltip with multiples elements rendered by map #152
Answered
by
denisborovikov
eliellima00
asked this question in
Q&A
-
I'am need to render multiples elements which need to contain a tooltip, but how I can Make this using different refs and states provided by usePopperTooltip hook? |
Beta Was this translation helpful? Give feedback.
Answered by
denisborovikov
May 23, 2022
Replies: 2 comments
-
You can create a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mohsinulhaq
-
thanks man
Em seg., 23 de mai. de 2022 às 15:21, Denis Borovikov <
***@***.***> escreveu:
… You can create a <Tooltip /> component and use multiple instances of this
component wherever you need. See this example
https://codesandbox.io/s/vigorous-hopper-mo5fpq?file=/src/index.js
—
Reply to this email directly, view it on GitHub
<#152 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVPMHXLULBCQXZWH5SVJFT3VLPLFDANCNFSM5WV7WQFA>
.
You are receiving this because you authored the thread.Message ID:
<mohsinulhaq/react-popper-tooltip/repo-discussions/152/comments/2806831@
github.com>
|
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
You can create a
<Tooltip />
component and use multiple instances of this component wherever you need. See this example https://codesandbox.io/s/vigorous-hopper-mo5fpq?file=/src/index.js