-
How can I transition between conditional styles similar to how CSS transitions work? // Example: animate when `foo` changes
<Text sx={foo ? {color: "blue"} : {color: "orange"}}></Text> My understanding is that I could use the animation API in React Native, however it seems a bit boilerplatey. Is this done easily using Moti, Legend Motion, or similar? Can it be done natively using Dripsy? |
Beta Was this translation helpful? Give feedback.
Answered by
nandorojo
Apr 16, 2023
Replies: 1 comment 1 reply
-
use Moti! It’s not handled by Dripsy, I purposefully made Moti a separate library. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Maxson52
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use Moti! It’s not handled by Dripsy, I purposefully made Moti a separate library.