File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ This example uses [georstat/react-native-image-cache](https://github.com/georsta
75
75
``` tsx
76
76
import { CacheManager , CachedImage } from ' @georstat/react-native-image-cache' ;
77
77
import { Dirs } from ' react-native-file-access' ;
78
+ import {
79
+ ImageGallery ,
80
+ ImageObject ,
81
+ } from ' @georstat/react-native-image-gallery' ;
78
82
79
83
CacheManager .config = {
80
84
baseDir: ` ${Dirs .CacheDir }/images_cache/ ` ,
@@ -96,7 +100,7 @@ const MyGallery = () => {
96
100
return <Footer total = { images .length } currentIndex = { currentIndex } />;
97
101
};
98
102
99
- const renderCustomImage = (image : Image ) => {
103
+ const renderCustomImage = (image : ImageObject ) => {
100
104
return (
101
105
<View style = { styles .customImageContainer } >
102
106
<CachedImage
You can’t perform that action at this time.
0 commit comments