File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ npm i react-native-cacheable-image --save
2929## Usage
3030import CacheableImage from 'react-native-cacheable-image'
3131
32+ ### Props
33+
34+ * ` activityIndicatorProps ` - pass this property to alter the ActivityIndicator
35+ * ` defaultSource ` - pass this property to provide a default source to fallback on (the defaultSource is attached to another CacheableImage component)
36+
37+
3238## Example
3339
3440 <CacheableImage
@@ -38,7 +44,8 @@ import CacheableImage from 'react-native-cacheable-image'
3844 >
3945 <CacheableImage
4046 style={styles.nestedImage}
41- source={require(./someImage.jpeg)}
47+ source={require(./someImage.jpeg)}
48+ defaultSource={{uri: 'http://www.foobar.com/defaultImage.jpeg'}}
4249 />
4350 </CacheableImage>
4451
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-cacheable-image" ,
3- "version" : " 1.3.0 " ,
3+ "version" : " 1.3.1 " ,
44 "description" : " An Image component for React Native that will cache itself to disk" ,
55 "main" : " image.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments