Skip to content

Commit 46d33dd

Browse files
committed
empty react-native project
0 parents  commit 46d33dd

File tree

10 files changed

+6970
-0
lines changed

10 files changed

+6970
-0
lines changed

.expo-shared/assets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true,
3+
"89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true
4+
}

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules/**/*
2+
.expo/*
3+
npm-debug.*
4+
*.jks
5+
*.p8
6+
*.p12
7+
*.key
8+
*.mobileprovision
9+
*.orig.*
10+
web-build/
11+
web-report/

.watchmanconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

App.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* eslint-disable no-use-before-define */
2+
import React from 'react';
3+
import { StyleSheet, Text, View, TextInput, Button } from 'react-native';
4+
5+
export default class App extends React.Component {
6+
render() {
7+
return (
8+
<View style={styles.container}>
9+
<View>
10+
<Text>Email:</Text>
11+
<TextInput style={styles.inputText} placeholder="Type Email Here" />
12+
</View>
13+
<View>
14+
<Text>Password:</Text>
15+
<TextInput style={styles.inputText} placeholder="Type Password Here" />
16+
</View>
17+
<View>
18+
<Button onPress={() => {alert('Satisfaction !!!')}} title="Push Me" />
19+
</View>
20+
</View>
21+
);
22+
}
23+
}
24+
25+
const styles = StyleSheet.create({
26+
container: {
27+
flex: 1,
28+
backgroundColor: '#fff',
29+
alignItems: 'center',
30+
justifyContent: 'center',
31+
},
32+
inputText: {
33+
height: 40,
34+
width: 100,
35+
}
36+
});

app.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"expo": {
3+
"name": "capstone",
4+
"slug": "SubwAR",
5+
"privacy": "public",
6+
"sdkVersion": "34.0.0",
7+
"platforms": [
8+
"ios",
9+
"android",
10+
"web"
11+
],
12+
"version": "1.0.0",
13+
"orientation": "portrait",
14+
"icon": "./assets/icon.png",
15+
"splash": {
16+
"image": "./assets/splash.png",
17+
"resizeMode": "contain",
18+
"backgroundColor": "#ffffff"
19+
},
20+
"updates": {
21+
"fallbackToCacheTimeout": 0
22+
},
23+
"assetBundlePatterns": [
24+
"**/*"
25+
],
26+
"ios": {
27+
"supportsTablet": true
28+
}
29+
}
30+
}

assets/icon.png

1.07 KB
Loading

assets/splash.png

7.01 KB
Loading

babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = function(api) {
2+
api.cache(true);
3+
return {
4+
presets: ['babel-preset-expo'],
5+
};
6+
};

0 commit comments

Comments
 (0)