0.0.1 • Published 2 years ago

reanimated-crossfade-image v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

ReAnimatedCrossfadeImages

ReAnimatedCrossfadeImages is a React Native component that provides a visually appealing way to display and animate images with cross fading transitions. It utilizes the react-native-reanimated library for smooth animations and transitions. This library can be used as both Image or ImageBackground component.

Installation

Before installing ReAnimatedCrossfadeImages, make sure you have react-native-reanimated version 3 or higher installed in your React Native project. If not, you can install it with the following commands:

npm install react-native-reanimated@^3.0.0 reanimated-crossfade-images
# or
yarn add react-native-reanimated@^3.0.0  reanimated-cr0ssfade-images
PropsRequiredDefaultDescription
imagestrueThis should be an array of images strings.
intervalfalse2000Interval of images changes in ms.
fadeDurationfalse500Duration of the cross fade effect between 2 images.
loopfalsetrueSet if the animation happens on loop or only once.