$ git show slide-in
Slide in
Slide a view in from the left while fading it in.
const slideIn = {
from: { opacity: 0, transform: [{ translateX: -100 }] },
to: { opacity: 1, transform: [{ translateX: 0 }] },
};
<Animated.View
style={[styles.box, {
animationName: slideIn,
animationDuration: '450ms',
animationTimingFunction: 'ease-out',
}]}
/>