Hi, I'm creating a component that behaves differently based on which side the pointer entered the component. I would like to use the Hover container for this, but I need access to the underlying React event to implement the direction awareness. What do you think about exposing this event as an argument of the onChange function?
As a side note: I couldn't find any documentation about what arguments currently get passed the function (but it looks like the same value as hovered).
Hi, I'm creating a component that behaves differently based on which side the pointer entered the component. I would like to use the
Hover
container for this, but I need access to the underlying React event to implement the direction awareness. What do you think about exposing this event as an argument of theonChange
function?As a side note: I couldn't find any documentation about what arguments currently get passed the function (but it looks like the same value as
hovered
).