React native Image Placeholder
React-native >= 0.46.x
Fixed render inside component
npm i --save react-native-image-placeholder
Please file an issue if you have any trouble!
import ImageLoad from 'react-native-image-placeholder';....
Supports all Image properties.
Option |
Default | Info |
---|---|---|
placeholderSource | require('./Images/empty-image.png') | Show placeholderSourceif the sourcecan't be loaded or error. |
loadingStyle | size: 'small'; color: 'gray' | Style ActivityIndicator |
isShowActivity | true | Show ActivityIndicator loading |
placeholderStyle | Style placeholder image | |
customImagePlaceholderDefaultStyle | Custom style image placeholder default | |
borderRadius | Border radius |
ISC