showing results for - "how to dynamically show image from local storage in react native"
Irene
23 Feb 2020
1// our data
2// we need to require all images, 
3// so that React Native knows about them statically
4const items = [
5    {
6        id: '001',
7        image: require('../images/001.jpeg'),
8    },
9    {
10        id: '002',
11        image: require('../images/002.jpeg'),
12    },
13];
14
15// render
16items.map( (item) => 
17    <Image key={item.id} source={item.image} />
18)
19