react-native-image-lazy-loading
v1.0.4
Published
animated image loading for react native
Downloads
343
Maintainers
Readme
react-native-image-lazy-loading
react-native-image-lazy-loading
Installation
npm install react-native-image-lazy-loading
Usage
import ImageLazyLoading from "react-native-image-lazy-loading";
const App= () => {
return (
<ImageLazyLoading
<Image source={source} style={styles.image}
/>
);
};
Props
Image props (https://reactnative.dev/docs/image)
loaderColor: string
renderErrorComponent={<Error/> }
renderLoaderComponent={<Loader/> }: