ignite-dev-screens
Advanced tools
Comparing version 2.4.0 to 2.4.1
{ | ||
"name": "ignite-dev-screens", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -34,3 +34,3 @@ const sourceFolder = `${process.cwd()}/node_modules/ignite-dev-screens/templates` | ||
// Copy the the screens to containers folder | ||
filesystem.copyAsync(`${sourceFolder}`, `${process.cwd()}/ignite/DevScreens`, { overwrite: true }) | ||
await filesystem.copyAsync(`${sourceFolder}`, `${process.cwd()}/ignite/DevScreens`, { overwrite: true }) | ||
@@ -37,0 +37,0 @@ // Set showDevScreens to __DEV__ |
@@ -5,3 +5,3 @@ import React from 'react' | ||
import ButtonBox from './ButtonBox' | ||
import { createStackNavigator } from 'react-navigation' | ||
import { createStackNavigator, createAppContainer } from 'react-navigation' | ||
// Screens | ||
@@ -85,3 +85,3 @@ import APITestingScreen from './APITestingScreen' | ||
export default createStackNavigator({ | ||
const stackNavigator = createStackNavigator({ | ||
PresentationScreen: {screen: PresentationScreen}, | ||
@@ -113,1 +113,3 @@ APITestingScreen: {screen: APITestingScreen}, | ||
}) | ||
export default createAppContainer(stackNavigator); |
780083
1190