Skip to content
This repository was archived by the owner on Nov 12, 2019. It is now read-only.

Commit 9e7df61

Browse files
committed
require react-native v0.44
1 parent e663532 commit 9e7df61

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

components/NavButton.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { PropTypes } from 'react'
2-
import { Platform, TouchableOpacity, View } from 'react-native'
2+
import { Platform, TouchableOpacity, View, ViewPropTypes } from 'react-native'
33
import styles from '../styles'
44

55
function NavButton({ style, onPress, children, disabled, disabledStyle, accessibilityLabel }) {
@@ -40,9 +40,9 @@ function NavButton({ style, onPress, children, disabled, disabledStyle, accessib
4040
NavButton.propTypes = {
4141
children: PropTypes.node,
4242
onPress: PropTypes.func,
43-
style: View.PropTypes.style,
43+
style: ViewPropTypes.style,
4444
disabled: PropTypes.bool,
45-
disabledStyle: View.PropTypes.style,
45+
disabledStyle: ViewPropTypes.style,
4646
}
4747

4848
NavButton.defaultProps = {

components/NavGroup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { PropTypes } from 'react'
2-
import { View } from 'react-native'
2+
import { View, ViewPropTypes } from 'react-native'
33
import styles from '../styles'
44

55
function NavGroup({ style, children }) {
@@ -11,7 +11,7 @@ function NavGroup({ style, children }) {
1111
}
1212

1313
NavGroup.propTypes = {
14-
style: View.propTypes.style,
14+
style: ViewPropTypes.style,
1515
children: PropTypes.node,
1616
}
1717

components/StatusBarEnhanced.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { PropTypes } from 'react'
2-
import { Platform, View, StatusBar } from 'react-native'
2+
import { Platform, View, StatusBar, ViewPropTypes } from 'react-native'
33
import styles from '../styles'
44

55
function StatusBarEnhanced({ statusBar, style }) {
@@ -45,7 +45,7 @@ function StatusBarEnhanced({ statusBar, style }) {
4545

4646
StatusBarEnhanced.propTypes = {
4747
statusBar: PropTypes.object,
48-
style: View.propTypes.style,
48+
style: ViewPropTypes.style,
4949
}
5050

5151
StatusBarEnhanced.defaultProps = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "echo \"Error: no test specified\" && exit 1"
1111
},
1212
"peerDependencies": {
13-
"react-native": ">= 0.16"
13+
"react-native": ">= 0.44"
1414
},
1515
"devDependencies": {
1616
"eslint": "4.2.0",

0 commit comments

Comments
 (0)