forked from vcrabtree/GroceryStoreApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.js
46 lines (45 loc) · 1.12 KB
/
data.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
const data = [
{
groceryItem: 'Apple',
price: '$2.99',
category: 'Produce',
src: require('./assets/apples.jpg'),
id: Math.floor(Math.random() * 100) + 1
},
{
groceryItem: 'Pear',
price: '$2.49',
category: 'Produce',
src: require('./assets/pear.jpg'),
id: Math.floor(Math.random() * 100) + 1
},
{
groceryItem: 'Banana',
price: '$0.99',
category: 'Produce',
src: require('./assets/banana.jpg'),
id: Math.floor(Math.random() * 100) + 1
},
{
groceryItem: 'Carrot',
price: '$2.49',
category: 'Produce',
src: require('./assets/carrot.jpg'),
id: Math.floor(Math.random() * 100) + 1
},
{
groceryItem: 'Lettuce',
price: '$3.99',
category: 'Produce',
src: require('./assets/lettuce.jpg'),
id: Math.floor(Math.random() * 100) + 1
},
{
groceryItem: 'Milk',
price: '$2.99',
category: 'Dairy',
src: require('./assets/milk.jpg'),
id: Math.floor(Math.random() * 100) + 1
}
];
export { data }