react-tooltip icon indicating copy to clipboard operation
react-tooltip copied to clipboard

Can we reuse ReactTooltip component by initializing at the root component and accessing it in its child component

Open premnkl opened this issue 3 years ago • 0 comments

Dear Team,

We started using ReactTooltip inside a component and it is absolutely fine.

Our actual case is to extend it to multiple components. Before making this change to initialize ReactTooltip at each component individually, wanted to check is it possible to initialize ReactTooltip once at the root component and pass data-tip from the child to get it displayed ?

premnkl avatar Sep 30 '22 06:09 premnkl