Home > Software engineering >  React Native Animation - Icon and App name
React Native Animation - Icon and App name

Time:01-07

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

CodePudding user response:

your should refer this: react-native-animatable

CodePudding user response:

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

  •  Tags:  
  • Related