File tree 6 files changed +69
-1096
lines changed
6 files changed +69
-1096
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import { AppRegistry } from 'react-native' ;
2
- import App from './App' ;
3
-
4
- AppRegistry . registerComponent ( 'basicAnimations' , ( ) => App ) ;
1
+ import "./lib/" ;
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
- "start" : " node node_modules/react-native/local-cli/cli.js start" ,
7
- "test" : " jest"
6
+ "start" : " node node_modules/react-native/local-cli/cli.js start"
8
7
},
9
8
"dependencies" : {
10
- "react" : " 16.0 .0" ,
9
+ "react" : " 16.2 .0" ,
11
10
"react-native" : " 0.51.0"
12
11
},
13
12
"devDependencies" : {
14
- "babel-jest" : " 22.0.4" ,
15
- "babel-preset-react-native" : " 4.0.0" ,
16
- "jest" : " 22.0.4" ,
17
- "react-test-renderer" : " 16.0.0"
18
- },
19
- "jest" : {
20
- "preset" : " react-native"
13
+ "@types/react" : " ^16.0.34" ,
14
+ "@types/react-native" : " ^0.51.9"
21
15
}
22
- }
16
+ }
Original file line number Diff line number Diff line change
1
+ import * as React from "react" ;
2
+ import { AppRegistry , View } from "react-native" ;
3
+
4
+ class AppShell extends React . Component {
5
+ public render ( ) {
6
+ return (
7
+ < View >
8
+ </ View >
9
+ ) ;
10
+ }
11
+ }
12
+
13
+ AppRegistry . registerComponent ( "basicAnimations" , ( ) => AppShell ) ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "target" : " es2017" ,
4
+ "module" : " commonjs" ,
5
+ "jsx" : " react" ,
6
+ "sourceMap" : true ,
7
+ "outDir" : " ./lib/" ,
8
+ "strict" : true
9
+ },
10
+ "include" : [
11
+ " ./src/"
12
+ ]
13
+ }
You can’t perform that action at this time.
0 commit comments