I have a Button and Hovered component. The hovered component holds state and mouseover events and will pass down hovered props to its children. The button is a normal button.
I want to be able to access the hovered value as a prop on the Button, but I don't want to have to wrap the Button with Hovered everywhere that I use it.
Is there a way a wrapping the Button component in the same Button.jsx file so that I can keep the Hovered dependency in one place, but still get the props passed down?