mirror of
https://github.com/status-im/react-native-fast-image.git
synced 2025-02-24 04:08:21 +00:00
34 lines
643 B
JavaScript
34 lines
643 B
JavaScript
|
// @flow
|
||
|
import React from 'react'
|
||
|
import {
|
||
|
TabNavigator,
|
||
|
TabView,
|
||
|
} from 'react-navigation';
|
||
|
import FastImageExample from './FastImageExample'
|
||
|
import FastImageGrid from './FastImageGrid'
|
||
|
import DefaultImageGrid from './DefaultImageGrid'
|
||
|
|
||
|
const App = TabNavigator({
|
||
|
fastImageExample: {
|
||
|
screen: FastImageExample,
|
||
|
},
|
||
|
image: {
|
||
|
screen: DefaultImageGrid,
|
||
|
},
|
||
|
fastImage: {
|
||
|
screen: FastImageGrid,
|
||
|
},
|
||
|
}, {
|
||
|
tabBarComponent: TabView.TabBarBottom,
|
||
|
tabBarPosition: 'bottom',
|
||
|
swipeEnabled: false,
|
||
|
animationEnabled: false,
|
||
|
tabBarOptions: {
|
||
|
style: {
|
||
|
backgroundColor: 'white',
|
||
|
},
|
||
|
},
|
||
|
})
|
||
|
|
||
|
export default App
|