gilbarbara / react-floater

Advanced tooltips for React
https://codesandbox.io/s/github/gilbarbara/react-floater/tree/main/demo
MIT License
220 stars 37 forks source link

OffsetY and OffsetX #90

Closed colstewart closed 2 years ago

colstewart commented 2 years ago

Hi there,

I see that we can pass an offset to the Floater, which is the amount of pixels it should be away from the target. Is there a way to pass an offsetY and offsetX? I only see the offset prop which is currently offsetY (from the top). Would be great to be able to control both y and x