Clean up refs in examples
This commit is contained in:
parent
dafa2ba5a2
commit
4e71298715
|
@ -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",
|
||||
|
|
|
@ -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 }) => (
|
||||
|
|
Loading…
Reference in New Issue