Replies: 2 comments
-
Why do you feel the need to use |
Beta Was this translation helpful? Give feedback.
-
I'm also having trouble with a similar situation. I'd like to use Right now I'm almost accomplishing it with |
Beta Was this translation helpful? Give feedback.
-
Hello,
Does anyone have an idea how to make two different motions on the same component? I have a button which have background color, it changes to a blue color when hovering, but also changes to darker blue when clicking on it. I did both on hover and on click separately in different examples (for hover I used useTransition, while for clicking I used simply useSpring), but now I do not know how to combine these. I couldn't find any similar example. It is supposedly "easy" example, of a button with normal active and hover states which differ a bit.
Anyone could help?
Beta Was this translation helpful? Give feedback.
All reactions