Skip to content

Commit 3141ee5

Browse files
committed
Fix TabBar in example.
1 parent 5a93fee commit 3141ee5

File tree

3 files changed

+13
-20
lines changed

3 files changed

+13
-20
lines changed

example/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import React from 'react'
3-
import { TabNavigator, TabView } from 'react-navigation'
3+
import { TabNavigator, TabBarBottom } from 'react-navigation'
44
import FastImageExample from './FastImageExample'
55
import FastImageGrid from './FastImageGrid'
66
import DefaultImageGrid from './DefaultImageGrid'
@@ -18,7 +18,7 @@ const App = TabNavigator(
1818
},
1919
},
2020
{
21-
tabBarComponent: TabView.TabBarBottom,
21+
tabBarComponent: TabBarBottom,
2222
tabBarPosition: 'bottom',
2323
swipeEnabled: false,
2424
animationEnabled: false,

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react-native": "^0.44.0",
1111
"react-native-fast-image": "../",
1212
"react-native-vector-icons": "^4.0.1",
13-
"react-navigation": "git+https://github.com/react-community/react-navigation.git",
13+
"react-navigation": "^1.0.0-beta.9",
1414
"react-timeout": "^1.0.0",
1515
"uuid": "^3.0.1"
1616
},

example/yarn.lock

+10-17
Original file line numberDiff line numberDiff line change
@@ -2962,9 +2962,11 @@ [email protected]:
29622962
react-native-fast-image@../:
29632963
version "0.0.9"
29642964

2965-
react-native-tab-view@^0.0.57:
2966-
version "0.0.57"
2967-
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.57.tgz#715e2ea4100fa50168e134df3947dd76ebd55743"
2965+
react-native-tab-view@^0.0.61:
2966+
version "0.0.61"
2967+
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.61.tgz#9f5446c9ad33158b87f0bccf5004fbff79ca1f92"
2968+
dependencies:
2969+
prop-types "^15.5.8"
29682970

29692971
react-native-vector-icons@^4.0.1:
29702972
version "4.0.1"
@@ -3059,17 +3061,17 @@ react-native@^0.44.0:
30593061
xpipe "^1.0.5"
30603062
yargs "^6.4.0"
30613063

3062-
"react-navigation@git+https://github.com/react-community/react-navigation.git":
3063-
version "1.0.0-beta.7"
3064-
resolved "git+https://github.com/react-community/react-navigation.git#77313a2a0b9324af81bf39d962033082753a4596"
3064+
react-navigation@^1.0.0-beta.9:
3065+
version "1.0.0-beta.9"
3066+
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-1.0.0-beta.9.tgz#9fb1f8e4d15cee70cc8b5d58719a986ca443664d"
30653067
dependencies:
30663068
clamp "^1.0.1"
30673069
fbjs "^0.8.5"
30683070
hoist-non-react-statics "^1.2.0"
30693071
path-to-regexp "^1.7.0"
30703072
prop-types "^15.5.8"
30713073
react-native-drawer-layout-polyfill "1.2.0"
3072-
react-native-tab-view "^0.0.57"
3074+
react-native-tab-view "^0.0.61"
30733075

30743076
react-proxy@^1.1.7:
30753077
version "1.1.8"
@@ -3690,7 +3692,7 @@ ua-parser-js@^0.7.9:
36903692
version "0.7.12"
36913693
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.12.tgz#04c81a99bdd5dc52263ea29d24c6bf8d4818a4bb"
36923694

3693-
3695+
[email protected], uglify-js@^2.6:
36943696
version "2.7.5"
36953697
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.7.5.tgz#4612c0c7baaee2ba7c487de4904ae122079f2ca8"
36963698
dependencies:
@@ -3699,15 +3701,6 @@ [email protected]:
36993701
uglify-to-browserify "~1.0.0"
37003702
yargs "~3.10.0"
37013703

3702-
uglify-js@^2.6:
3703-
version "2.8.22"
3704-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0"
3705-
dependencies:
3706-
source-map "~0.5.1"
3707-
yargs "~3.10.0"
3708-
optionalDependencies:
3709-
uglify-to-browserify "~1.0.0"
3710-
37113704
uglify-to-browserify@~1.0.0:
37123705
version "1.0.2"
37133706
resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"

0 commit comments

Comments
 (0)