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

Commit 9b62b96

Browse files
committed
updated to RN0.25
1 parent 3d8c1b6 commit 9b62b96

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

components/NavButton.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* @flow */
2-
import React from 'react-native'
3-
const { Platform, TouchableOpacity, View, PropTypes } = React
4-
import styles from '../styles'
2+
import React from 'react';
3+
import { Platform, TouchableOpacity, View, PropTypes } from 'react-native';
4+
import styles from '../styles';
55

66
function NavButton({ style, onPress, children, disabled, disabledStyle }: Object): React.Element {
77
let navButtonStyles = []

components/NavButtonText.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* @flow */
2-
import React from 'react-native'
3-
const { Text, PropTypes } = React
4-
import styles from '../styles'
2+
import React from 'react';
3+
import { Text, PropTypes } from 'react-native';
4+
import styles from '../styles';
55

66
function NavButtonText({ style, children }: Object): React.Element {
77
return (

components/NavGroup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* @flow */
2-
import React from 'react-native'
3-
const { View, PropTypes } = React
2+
import React from 'react'
3+
import { View, PropTypes } from 'react-native';
44
import styles from '../styles'
55

66
function NavGroup({ style, children }: Object): React.Element {

components/NavTitle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* @flow */
2-
import React from 'react-native'
3-
const { Text, PropTypes } = React
2+
import React from 'react';
3+
import { Text, PropTypes } from 'react-native';
44
import styles from '../styles'
55

66
function NavTitle({ style, children }: Object): React.Element {

components/StatusBarEnhanced.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* @flow */
2-
import React from 'react-native'
3-
const { Platform, View, PropTypes, StatusBar } = React
2+
import React from 'react';
3+
import { Platform, View, PropTypes, StatusBar } from 'react-native';
44
import styles from '../styles'
55

66
function StatusBarEnhanced({ statusBar, style }: Object): React.Element {

0 commit comments

Comments
 (0)