2017-04-13 04:13:44 +00:00
|
|
|
import React from 'react'
|
2017-05-04 06:55:26 +00:00
|
|
|
import { TabNavigator, TabBarBottom } from 'react-navigation'
|
2017-11-30 03:02:37 +00:00
|
|
|
import FastImageExample from './fastImage/FastImageExample'
|
|
|
|
import FastImageGrid from './fastImage/FastImageGrid'
|
|
|
|
import DefaultImageGrid from './fastImage/DefaultImageGrid'
|
2017-04-13 04:13:44 +00:00
|
|
|
|
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
|
|
|
{
|
2017-05-04 06:55:26 +00:00
|
|
|
tabBarComponent: TabBarBottom,
|
2017-04-18 05:52:09 +00:00
|
|
|
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
|