joeyschroeder / react-native-simple-animations

🌈 A React Native component that adds simple entrance, exit, and attention-seeking animations to a child component.
https://www.npmjs.com/package/react-native-simple-animations
Other
27 stars 4 forks source link

Custom Animation #5

Open mohamedshuaau opened 4 years ago

mohamedshuaau commented 4 years ago

First of all, I just want to say than you for this. It is smooth, performs great and overall best I have seen so far.

My current situation is that I am using a touchable opacity and onFocus, I am changing the width and height of the element. Now I wanted to add a transition to that width height expansion. Is this possible in this package?

joeyschroeder commented 4 years ago

@armagedan Currently, that's not possible, to make the component simple, I've limited what kind of animations could be done, but if you had a simple code sample I could use for testing I could check it out and maybe make some updates to the library? I've actually thought about making a simple-transitions component where you just pass a prop you want to animate and it does that instead of providing the built in zoom/bounce/move, et cetera animations.