From 4e71298715c36c70a0f773e433265f16c42f837d Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Mon, 15 Oct 2018 11:53:43 -0700 Subject: [PATCH] Clean up refs in examples --- example/package.json | 3 +-- example/src/LifecycleInteraction.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/example/package.json b/example/package.json index b6d9f9e..35caa3f 100644 --- a/example/package.json +++ b/example/package.json @@ -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", diff --git a/example/src/LifecycleInteraction.js b/example/src/LifecycleInteraction.js index 38be546..e0cd2b3 100644 --- a/example/src/LifecycleInteraction.js +++ b/example/src/LifecycleInteraction.js @@ -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 }) => (