File size: 1,958 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import React, { Component } from 'react';
import { Platform } from 'react-native';
import { Router, Scene } from 'react-native-router-flux';
import Home from './src/Home';
import Filters from './src/Filters';
import Price from './src/Price';
import Categories from './src/Categories';
import Type from './src/Type';
import Rating from './src/Rating';

export default class App extends Component {
  render() {
    return (
      <Router>
        <Scene
          key="root"
          navigationBarStyle={{
            backgroundColor: '#162331',
            borderColor: '#162331',
            borderBottomColor: 'transparent',
          }}
          titleStyle={{
            color: 'white',
            ...Platform.select({
              android: { marginTop: 10 },
            }),
          }}
        >
          <Scene
            key="Home"
            component={Home}
            title="AEKI"
            initial={true}
            hideBackImage={Platform.OS === 'android'}
          />
          <Scene
            key="Filters"
            component={Filters}
            title="Filters"
            hideBackImage={Platform.OS === 'android'}
          />
          <Scene
            key="Categories"
            component={Categories}
            title="Categories"
            hideBackImage={Platform.OS === 'android'}
          />
          <Scene
            key="Type"
            component={Type}
            title="Type"
            duration={1}
            hideBackImage={Platform.OS === 'android'}
          />
          <Scene
            key="Price"
            component={Price}
            title="Price"
            duration={1}
            hideBackImage={Platform.OS === 'android'}
          />
          <Scene
            key="Rating"
            component={Rating}
            title="Ratings"
            duration={1}
            hideBackImage={Platform.OS === 'android'}
          />
        </Scene>
      </Router>
    );
  }
}