File tree Expand file tree Collapse file tree 5 files changed +78
-0
lines changed Expand file tree Collapse file tree 5 files changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [" babel-preset-exponent" ],
3
+ "env" : {
4
+ "development" : {
5
+ "plugins" : [" transform-react-jsx-source" ]
6
+ }
7
+ }
8
+ }
Original file line number Diff line number Diff line change
1
+ node_modules /** /*
2
+ .exponent /*
3
+ npm-debug. *
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " exponent-test" ,
3
+ "description" : " An empty new project" ,
4
+ "slug" : " exponent-test" ,
5
+ "privacy" : " public" ,
6
+ "sdkVersion" : " 12.0.0" ,
7
+ "version" : " 1.0.0" ,
8
+ "orientation" : " portrait" ,
9
+ "primaryColor" : " #cccccc" ,
10
+ "iconUrl" : " https://s3.amazonaws.com/exp-brand-assets/ExponentEmptyManifest_192.png" ,
11
+ "notification" : {
12
+ "iconUrl" : " https://s3.amazonaws.com/exp-us-standard/placeholder-push-icon-blue-circle.png" ,
13
+ "color" : " #000000"
14
+ },
15
+ "loading" : {
16
+ "iconUrl" : " https://s3.amazonaws.com/exp-brand-assets/ExponentEmptyManifest_192.png" ,
17
+ "hideExponentText" : false
18
+ },
19
+ "packagerOpts" : {
20
+ "assetExts" : [" ttf" , " mp4" ]
21
+ },
22
+ "ios" : {
23
+ "supportsTablet" : true
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ import Exponent from 'exponent' ;
2
+ import React from 'react' ;
3
+ import {
4
+ StyleSheet ,
5
+ Text ,
6
+ View ,
7
+ } from 'react-native' ;
8
+
9
+ class App extends React . Component {
10
+ render ( ) {
11
+ return (
12
+ < View style = { styles . container } >
13
+ < Text > Open up main.js to start working on your app xyz!</ Text >
14
+ </ View >
15
+ ) ;
16
+ }
17
+ }
18
+
19
+ const styles = StyleSheet . create ( {
20
+ container : {
21
+ flex : 1 ,
22
+ backgroundColor : 'purple' ,
23
+ alignItems : 'center' ,
24
+ justifyContent : 'center' ,
25
+ } ,
26
+ } ) ;
27
+
28
+ Exponent . registerRootComponent ( App ) ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " exponent-test" ,
3
+ "version" : " 0.0.0" ,
4
+ "description" : " Hello Exponent!" ,
5
+ "author" : null ,
6
+ "private" : true ,
7
+ "main" : " main.js" ,
8
+ "dependencies" : {
9
+ "exponent" : " ~12.0.3" ,
10
+ "@exponent/vector-icons" : " ~2.0.3" ,
11
+ "react" : " ~15.3.2" ,
12
+ "react-native" : " git+https://github.com/exponentjs/react-native#sdk-12.0.0"
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments