Clean up refs in examples

This commit is contained in:
Eric Vicenti 2018-10-15 11:53:43 -07:00
parent dafa2ba5a2
commit 4e71298715
2 changed files with 2 additions and 3 deletions

View File

@ -17,8 +17,7 @@
"react": "16.3.1",
"react-native": "~0.55.4",
"react-native-paper": "2.0.0-alpha.4",
"react-native-screens": "^1.0.0-alpha.9",
"react-navigation": "^2.11.1"
"react-native-screens": "^1.0.0-alpha.9"
},
"devDependencies": {
"babel-plugin-module-resolver": "^3.0.0",

View File

@ -1,7 +1,7 @@
import React from 'react';
import { Button, Text, View, StyleSheet } from 'react-native';
import { BarCodeScanner } from 'expo';
import { withNavigationFocus } from 'react-navigation';
import { withNavigationFocus } from '@react-navigation/core';
import { createStackNavigator } from 'react-navigation-stack';
const IndexScreen = ({ navigation }) => (