Skip to content

Conversation

lindboe
Copy link
Contributor

@lindboe lindboe commented Sep 14, 2021

Add the horizontalPosition and verticalPosition props to the Tooltip component, so that custom Tooltip components can use that information for things like rendering custom arrows.

(In my particular case, we wanted to render white text directly over the mask, and render a white SVG arrow that points in the correct direction for the highlighted element.)

Part of a series of PRs for more flexible styling:

Add the `horizontalPosition` and `verticalPosition` props to the Tooltip
component, so that custom Tooltip components can use that information
for things like rendering custom arrows.
@naoyamakino
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants