Skip to content

Commit fb414f1

Browse files
author
Stanford Lin
committed
Initial Commit
0 parents  commit fb414f1

8 files changed

+86
-0
lines changed

.babelrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": ["babel-preset-expo"],
3+
"env": {
4+
"development": {
5+
"plugins": ["transform-react-jsx-source"]
6+
}
7+
}
8+
}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/**/*
2+
.expo/*
3+
npm-debug.*

.watchmanconfig

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

App.js

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import React from 'react';
2+
import { StyleSheet, Text, View, Button } from 'react-native';
3+
4+
export default class App extends React.Component {
5+
render() {
6+
return (
7+
<View style={styles.container}>
8+
<Text>Open up App.js to start working on your app!</Text>
9+
<Button
10+
title="Offer"
11+
onPress={this._handleButtonPress}
12+
/>
13+
<Button
14+
title="Request"
15+
onPress={this._handleButtonPress}
16+
/>
17+
<Button
18+
title="Info"
19+
onPress={this._handleButtonPress}
20+
/>
21+
<Button
22+
title="Report"
23+
onPress={this._handleButtonPress}
24+
/>
25+
</View>
26+
);
27+
}
28+
}
29+
30+
31+
const styles = StyleSheet.create({
32+
container: {
33+
flex: 1,
34+
backgroundColor: '#fff',
35+
alignItems: 'center',
36+
justifyContent: 'center',
37+
},
38+
});

app.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"expo": {
3+
"name": "unisupport",
4+
"description": "An empty new project",
5+
"slug": "unisupport",
6+
"privacy": "public",
7+
"sdkVersion": "20.0.0",
8+
"version": "1.0.0",
9+
"orientation": "portrait",
10+
"primaryColor": "#cccccc",
11+
"icon": "./assets/icons/app-icon.png",
12+
"loading": {
13+
"icon": "./assets/icons/loading-icon.png",
14+
"hideExponentText": false
15+
},
16+
"packagerOpts": {
17+
"assetExts": ["ttf", "mp4"]
18+
},
19+
"ios": {
20+
"supportsTablet": true
21+
}
22+
}
23+
}

assets/icons/app-icon.png

2.91 KB
Loading

assets/icons/loading-icon.png

2.91 KB
Loading

package.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "unisupport",
3+
"version": "0.0.0",
4+
"description": "Hello Expo!",
5+
"author": null,
6+
"private": true,
7+
"main": "node_modules/expo/AppEntry.js",
8+
"dependencies": {
9+
"expo": "^20.0.0",
10+
"react": "16.0.0-alpha.12",
11+
"react-native": "https://github.com/expo/react-native/archive/sdk-20.0.0.tar.gz"
12+
}
13+
}

0 commit comments

Comments
 (0)