# react-native-image-indicator **Repository Path**: UnPourTous/react-native-image-indicator ## Basic Information - **Project Name**: react-native-image-indicator - **Description**: An image component with Indicator, default Image and error default Image - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-13 - **Last Updated**: 2024-12-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # A Image Component with Indicator, Default Image and Error Default Image [![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) ### React Native Indicator Image A image component with indicator and error default image ## Installation `$ npm install @unpourtous/react-native-image-indicator --save` ## Usage ```js import CustomImage from '@unpourtous/react-native-image-indicator' ``` ## API Props | Type | Description --- | --- | --- source | string | The remote URL image source. useQueryParamsInCacheKey | bool | Config if cache key contains `query` in url, default value is `true` defaultImage | number | The image before remote image loaded errorImage | number | The image when remote image loade failed renderIndicator | function | The function that render indicator component(exclusion indicator when renderIndicator setted) indicator | function | The indicator component when image is loading indicatorProps | object | The props of indicator component threshold | number | Delay before indicator component show in milliseconds, default value 50. ## License This library is distributed under MIT Licence.
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2FUnPourTous%2Freact-native-image-indicator.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2FUnPourTous%2Freact-native-image-indicator?ref=badge_large)