Animated lazy loading image component for React Native
npm install animated-lazy-image
npm i animated-lazy-image -S`or,
`yarn add animated-lazy-image`$3
#### Props:
1. source - Image source
2. placeholderColor - Placeholder background color, if it is not provided, it will fallback to #e3e3e3
3. customPlaceholder - Custom placeholder component`js
import LazyImage from 'animated-lazy-image'; /**
* Base example
*/
source="https://images.unsplash.com/photo-1551148552-c19ee5b0c116?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2733&q=80"
/>
/**
* With custom placeholder background color
*/
source="https://images.unsplash.com/photo-1551148552-c19ee5b0c116?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2733&q=80"
placeholderColor="#f74b59"
/>
/**
* With custom placeholder component
*/
source="https://images.unsplash.com/photo-1551148552-c19ee5b0c116?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2733&q=80"
customPlaceholder={ }
/>
``