oblador / react-native-animatable

Standard set of easy to use animations and declarative transitions for React Native
MIT License
9.81k stars 702 forks source link

How to increase time duration of animation? #323

Closed saptam-dev closed 4 years ago

saptam-dev commented 4 years ago

Hi I want to change the animation time duration. Suppose here 'shake' a button in 1 sec. I want to it take 5/10 sec for shaking. But how to do it? Any help?

ef73b1ba-767d-11e5-8fb9-9779d3a53a50

saptam-dev commented 4 years ago

Fixed it.

Just have to use duration={as you want}.

<Animatable.Text animation="bounceIn" duration={1000} iterationCount={10}>Like </Animatable.Text>