Skip to main content

AnimatedImage

Image component that fades-in the image with animation once it's loaded
(code example)

info

This component extends Image props.

Usage#

<AnimatedImage source={{uri: 'https://github.com/wix/react-native-ui-lib/blob/master/demo/src/assets/images/card-example.jpg'}}/>

API#

animationDuration#

Duration for the fade animation when the image is loaded
number

containerStyle#

Additional spacing styles for the container
ViewStyle

loader#

A component to render while the image is loading
JSX.element