Fix TabBar in example.
This commit is contained in:
parent
5a93fee689
commit
3141ee590f
|
@ -1,6 +1,6 @@
|
|||
// @flow
|
||||
import React from 'react'
|
||||
import { TabNavigator, TabView } from 'react-navigation'
|
||||
import { TabNavigator, TabBarBottom } from 'react-navigation'
|
||||
import FastImageExample from './FastImageExample'
|
||||
import FastImageGrid from './FastImageGrid'
|
||||
import DefaultImageGrid from './DefaultImageGrid'
|
||||
|
@ -18,7 +18,7 @@ const App = TabNavigator(
|
|||
},
|
||||
},
|
||||
{
|
||||
tabBarComponent: TabView.TabBarBottom,
|
||||
tabBarComponent: TabBarBottom,
|
||||
tabBarPosition: 'bottom',
|
||||
swipeEnabled: false,
|
||||
animationEnabled: false,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"react-native": "^0.44.0",
|
||||
"react-native-fast-image": "../",
|
||||
"react-native-vector-icons": "^4.0.1",
|
||||
"react-navigation": "git+https://github.com/react-community/react-navigation.git",
|
||||
"react-navigation": "^1.0.0-beta.9",
|
||||
"react-timeout": "^1.0.0",
|
||||
"uuid": "^3.0.1"
|
||||
},
|
||||
|
|
|
@ -2962,9 +2962,11 @@ react-native-drawer-layout@1.2.0:
|
|||
react-native-fast-image@../:
|
||||
version "0.0.9"
|
||||
|
||||
react-native-tab-view@^0.0.57:
|
||||
version "0.0.57"
|
||||
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.57.tgz#715e2ea4100fa50168e134df3947dd76ebd55743"
|
||||
react-native-tab-view@^0.0.61:
|
||||
version "0.0.61"
|
||||
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.61.tgz#9f5446c9ad33158b87f0bccf5004fbff79ca1f92"
|
||||
dependencies:
|
||||
prop-types "^15.5.8"
|
||||
|
||||
react-native-vector-icons@^4.0.1:
|
||||
version "4.0.1"
|
||||
|
@ -3059,9 +3061,9 @@ react-native@^0.44.0:
|
|||
xpipe "^1.0.5"
|
||||
yargs "^6.4.0"
|
||||
|
||||
"react-navigation@git+https://github.com/react-community/react-navigation.git":
|
||||
version "1.0.0-beta.7"
|
||||
resolved "git+https://github.com/react-community/react-navigation.git#77313a2a0b9324af81bf39d962033082753a4596"
|
||||
react-navigation@^1.0.0-beta.9:
|
||||
version "1.0.0-beta.9"
|
||||
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-1.0.0-beta.9.tgz#9fb1f8e4d15cee70cc8b5d58719a986ca443664d"
|
||||
dependencies:
|
||||
clamp "^1.0.1"
|
||||
fbjs "^0.8.5"
|
||||
|
@ -3069,7 +3071,7 @@ react-native@^0.44.0:
|
|||
path-to-regexp "^1.7.0"
|
||||
prop-types "^15.5.8"
|
||||
react-native-drawer-layout-polyfill "1.2.0"
|
||||
react-native-tab-view "^0.0.57"
|
||||
react-native-tab-view "^0.0.61"
|
||||
|
||||
react-proxy@^1.1.7:
|
||||
version "1.1.8"
|
||||
|
@ -3690,7 +3692,7 @@ ua-parser-js@^0.7.9:
|
|||
version "0.7.12"
|
||||
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.12.tgz#04c81a99bdd5dc52263ea29d24c6bf8d4818a4bb"
|
||||
|
||||
uglify-js@2.7.5:
|
||||
uglify-js@2.7.5, uglify-js@^2.6:
|
||||
version "2.7.5"
|
||||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.7.5.tgz#4612c0c7baaee2ba7c487de4904ae122079f2ca8"
|
||||
dependencies:
|
||||
|
@ -3699,15 +3701,6 @@ uglify-js@2.7.5:
|
|||
uglify-to-browserify "~1.0.0"
|
||||
yargs "~3.10.0"
|
||||
|
||||
uglify-js@^2.6:
|
||||
version "2.8.22"
|
||||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0"
|
||||
dependencies:
|
||||
source-map "~0.5.1"
|
||||
yargs "~3.10.0"
|
||||
optionalDependencies:
|
||||
uglify-to-browserify "~1.0.0"
|
||||
|
||||
uglify-to-browserify@~1.0.0:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
|
||||
|
|
Loading…
Reference in New Issue