2017-04-13 00:13:44 -04:00
|
|
|
import React from 'react'
|
2017-05-04 02:55:26 -04:00
|
|
|
import { TabNavigator, TabBarBottom } from 'react-navigation'
|
2018-03-17 20:55:27 -04:00
|
|
|
import FastImageExamples from './FastImageExamples'
|
|
|
|
import FastImageGrid from './FastImageGrid'
|
|
|
|
import DefaultImageGrid from './DefaultImageGrid'
|
2017-04-13 00:13:44 -04:00
|
|
|
|
2017-04-18 01:52:09 -04:00
|
|
|
const App = TabNavigator(
|
|
|
|
{
|
|
|
|
fastImageExample: {
|
2018-01-29 01:42:29 -05:00
|
|
|
screen: FastImageExamples,
|
2017-04-18 01:52:09 -04:00
|
|
|
},
|
|
|
|
image: {
|
|
|
|
screen: DefaultImageGrid,
|
|
|
|
},
|
|
|
|
fastImage: {
|
|
|
|
screen: FastImageGrid,
|
|
|
|
},
|
2017-04-13 00:13:44 -04:00
|
|
|
},
|
2017-04-18 01:52:09 -04:00
|
|
|
{
|
2017-05-04 02:55:26 -04:00
|
|
|
tabBarComponent: TabBarBottom,
|
2017-04-18 01:52:09 -04:00
|
|
|
tabBarPosition: 'bottom',
|
|
|
|
swipeEnabled: false,
|
|
|
|
animationEnabled: false,
|
|
|
|
tabBarOptions: {
|
|
|
|
style: {
|
|
|
|
backgroundColor: 'white',
|
|
|
|
},
|
2017-04-13 00:13:44 -04:00
|
|
|
},
|
|
|
|
},
|
2017-04-18 01:52:09 -04:00
|
|
|
)
|
2017-04-13 00:13:44 -04:00
|
|
|
|
|
|
|
export default App
|