2017-04-13 04:13:44 +00:00
|
|
|
// @flow
|
|
|
|
import React from 'react'
|
2017-04-18 05:52:09 +00:00
|
|
|
import { TabNavigator, TabView } from 'react-navigation'
|
2017-04-13 04:13:44 +00:00
|
|
|
import FastImageExample from './FastImageExample'
|
|
|
|
import FastImageGrid from './FastImageGrid'
|
|
|
|
import DefaultImageGrid from './DefaultImageGrid'
|
|
|
|
|
2017-04-18 05:52:09 +00:00
|
|
|
const App = TabNavigator(
|
|
|
|
{
|
|
|
|
fastImageExample: {
|
|
|
|
screen: FastImageExample,
|
|
|
|
},
|
|
|
|
image: {
|
|
|
|
screen: DefaultImageGrid,
|
|
|
|
},
|
|
|
|
fastImage: {
|
|
|
|
screen: FastImageGrid,
|
|
|
|
},
|
2017-04-13 04:13:44 +00:00
|
|
|
},
|
2017-04-18 05:52:09 +00:00
|
|
|
{
|
|
|
|
tabBarComponent: TabView.TabBarBottom,
|
|
|
|
tabBarPosition: 'bottom',
|
|
|
|
swipeEnabled: false,
|
|
|
|
animationEnabled: false,
|
|
|
|
tabBarOptions: {
|
|
|
|
style: {
|
|
|
|
backgroundColor: 'white',
|
|
|
|
},
|
2017-04-13 04:13:44 +00:00
|
|
|
},
|
|
|
|
},
|
2017-04-18 05:52:09 +00:00
|
|
|
)
|
2017-04-13 04:13:44 +00:00
|
|
|
|
|
|
|
export default App
|