Open wip-abramson opened 1 year ago
I am attempting to change the color of the arrow onHover. Figured I would use the passProps feature as follows:
passProps= {{ onMouseEnter: () => setIsHovered(true), onMouseLeave :() => setIsHovered(false), onClick: () => console.log("head clicked!"), cursor: "pointer", pointerEvents: "auto" }}
However, none of these props take effect on the arrow.
To Reproduce
Has anyone else had any success using this feature?
all props above work for me, however, I can't change the color based on isHovered
isHovered
I am attempting to change the color of the arrow onHover. Figured I would use the passProps feature as follows:
However, none of these props take effect on the arrow.
To Reproduce
Has anyone else had any success using this feature?