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

Add access to browser events to feedback containers

Open cdfa opened this issue 6 years ago • 0 comments

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).

cdfa avatar Aug 04 '19 19:08 cdfa