Commit 1c979e97 authored by Dennis Willers's avatar Dennis Willers 🏀

Init

parent b03ddc31
...@@ -21,3 +21,8 @@ ...@@ -21,3 +21,8 @@
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
# idea
.idea
/idea
/.idea
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,18 +3,9 @@ ...@@ -3,18 +3,9 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@react-navigation/native": "^6.0.2",
"@react-navigation/native-stack": "^6.1.0",
"browserslist": "^4.17.1",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-native": "^0.65.1", "react-scripts": "^2.1.8"
"react-native-pager-view": "^5.4.4",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.7.2",
"react-navigation": "^4.4.4",
"react-scripts": "^4.0.3",
"typescript": "^4.4.3"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
...@@ -41,6 +32,7 @@ ...@@ -41,6 +32,7 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.15.6" "@babel/preset-env": "^7.15.6",
"web-vitals": "^2.1.0"
} }
} }
import willersDigitalLogo from './assets/logo/willers-digital-logo.png' import willersDigitalLogo from './assets/logo/willers-digital-logo.png'
import './App.css'; import './App.css';
import * as React from 'react'; import * as React from 'react';
import { View, Text } from 'react-native'; /*import { View, Text } from 'react-native';
import { NavigationContainer } from '@react-navigation/native'; import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { createNativeStackNavigator } from '@react-navigation/native-stack';*/
function homeContent() { function homeContent() {
}
function HomeScreen() {
/*return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Home Screen</Text>
</View>
);*/
}
// const Stack = createNativeStackNavigator();
function App() {
return ( return (
<div className="App"> <div className="App">
<header className="App-header"> <header className="App-header">
...@@ -27,24 +40,4 @@ function homeContent() { ...@@ -27,24 +40,4 @@ function homeContent() {
); );
} }
function HomeScreen() {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Home Screen</Text>
</View>
);
}
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={HomeScreen} />
</Stack.Navigator>
</NavigationContainer>
);
}
export default App; export default App;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment