The Image component that supports fadeIn animation and shows placeholderSource if the main source can't be loaded. More will be implemented.
npm i --save react-native-beautiful-image
Please file an issue if you have any trouble!
import Image from 'react-native-beautiful-image';
....
<Image source={{ uri: 'https://avatars2.githubusercontent.com/u/1784243?v=3&s=460' }}
placeholderSource={require('./placeholder.png'} />
Supports all Image properties.
option | Info |
---|---|
placeholderSource | Show placeholderSource if the source can't be loaded. |
- Support more animations
- Lazy Loading based on position in View.
- TBD
MIT