Description:
A React Native component to reveal components with a smooth animation.
How to use it:
1. Install the package with NPM.
# NPM $ npm i react-native-animated-component --save
2. Add the <RNAnimated /> component to the app and config the animation with the following props:
- appearFrom: From which direction the component will appear
- animationDuration: Duration of the animation
- style: Override styles here
- initialDelay: Determine the initial delay
- delayInterval: Determine the children’s delay interval
<RNAnimated
appearFrom="left"
animationDuration={1300}
style={{ alignItems: "center" }}
>
{staticData.map(() => renderItem())}
</RNAnimated>