Skip to content

pindrar/react-native-animation-controller

Repository files navigation

react-native-animation-controller

RN Animation Controller
created by Pratama Indra .R

Installation

npm install react-native-animation-controller

Usage

import { AnimationController } from 'react-native-animation-controller';

// ...

<AnimationController
    direction={"down"}
    isFade={true}
    delay={200}
    duration={2000}
    hideBeforeAnimation={true}>
        <Text>Animation Fade Down</Text>
</AnimationController>
<AnimationController
    direction={"left"}
    isFade={true}
    delay={200}
    duration={2000}
    hideBeforeAnimation={true}>
        <Text>Animation Fade Left</Text>
</AnimationController>
<AnimationController
    direction={"right"}
    isFade={true}
    delay={200}
    duration={2000}
    hideBeforeAnimation={true}>
        <Text>Animation Fade Right</Text>
</AnimationController>
<AnimationController
    direction={"up"}
    isFade={true}
    delay={200}
    duration={2000}
    hideBeforeAnimation={true}>
        <Text>Animation Fade Up</Text>
</AnimationController>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library