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

Init

parent b03ddc31
......@@ -21,3 +21,8 @@
npm-debug.log*
yarn-debug.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 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@react-navigation/native": "^6.0.2",
"@react-navigation/native-stack": "^6.1.0",
"browserslist": "^4.17.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-native": "^0.65.1",
"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"
"react-scripts": "^2.1.8"
},
"scripts": {
"start": "react-scripts start",
......@@ -41,6 +32,7 @@
]
},
"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 './App.css';
import * as React from 'react';
import { View, Text } from 'react-native';
/*import { View, Text } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { createNativeStackNavigator } from '@react-navigation/native-stack';*/
function homeContent() {
return (
<div className="App">
<header className="App-header">
<img src={willersDigitalLogo} className="App-logo" alt="logo" />
<h1> Das ist meine erste Änderung</h1>
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
}
function HomeScreen() {
return (
/*return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Home Screen</Text>
</View>
);
);*/
}
const Stack = createNativeStackNavigator();
// const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={HomeScreen} />
</Stack.Navigator>
</NavigationContainer>
<div className="App">
<header className="App-header">
<img src={willersDigitalLogo} className="App-logo" alt="logo" />
<h1> Das ist meine erste Änderung</h1>
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
}
......
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