React Native Animation - Icon and App name

1.8k views Asked by At

React Native: How do you animate the Image? i.e Image should Come from header and name should come from Bottom

2

There are 2 answers

0
Yoel On BEST ANSWER

you can use react-native-animatable

export default function App() {
  return (
  <View style={styles.container}>
    
    <Animatable.Text animation="slideInDown"  iterationCount={1} direction="alternate">Up and down you go</Animatable.Text>
    <Animatable.Image 
    animation="slideInUp" easing="ease-out" iterationCount={1}     source={require('/assets/snack-icon.png')}/>
  </View>
  );
}

I made a small snack Look there

0
Tim On

you should refer this: react-native-animatable