-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.ts
49 lines (46 loc) · 1.06 KB
/
data.ts
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
47
48
49
import { ImageSourcePropType } from 'react-native';
export interface Place {
name: string;
poster: ImageSourcePropType;
rating: string;
duration: string;
}
export const avatars = [
require('../../../assets/random1.jpg'),
require('../../../assets/random2.jpg'),
require('../../../assets/random3.jpg'),
require('../../../assets/random4.jpg'),
require('../../../assets/random5.jpg'),
];
export const places: Place[] = [
{
name: 'Dubai',
poster: require('../../../assets/places-dubai.jpg'),
rating: '5.0',
duration: '2h 15m',
},
{
name: 'New York',
poster: require('../../../assets/places-newyork.jpg'),
rating: '4.8',
duration: '2h 49m',
},
{
name: 'Paris',
poster: require('../../../assets/places-paris.jpg'),
rating: '5.0',
duration: '2h 2m',
},
{
name: 'Rio de Janeiro',
poster: require('../../../assets/places-rio.jpg'),
rating: '4.5',
duration: '3h 2m',
},
{
name: 'Rome',
poster: require('../../../assets/places-rome.jpg'),
rating: '4.8',
duration: '3h 2m',
},
];