File tree 4 files changed +15
-15
lines changed
4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
- import React from ' react' ;
2
- import { StyleSheet , Text , View } from ' react-native' ;
1
+ import React from " react" ;
2
+ import { StyleSheet , Text , View } from " react-native" ;
3
3
4
4
export default function App ( ) {
5
5
return (
@@ -12,8 +12,8 @@ export default function App() {
12
12
const styles = StyleSheet . create ( {
13
13
container : {
14
14
flex : 1 ,
15
- backgroundColor : ' #fff' ,
16
- alignItems : ' center' ,
17
- justifyContent : ' center' ,
18
- } ,
15
+ backgroundColor : " #fff" ,
16
+ alignItems : " center" ,
17
+ justifyContent : " center"
18
+ }
19
19
} ) ;
Original file line number Diff line number Diff line change 1
- import ' react-native' ;
2
- import React from ' react' ;
3
- import App from ' ../App' ;
1
+ import " react-native" ;
2
+ import React from " react" ;
3
+ import App from " ../App" ;
4
4
5
5
// Note: test renderer must be required after react-native.
6
- import renderer from ' react-test-renderer' ;
6
+ import renderer from " react-test-renderer" ;
7
7
8
- it ( ' renders correctly' , ( ) => {
8
+ it ( " renders correctly" , ( ) => {
9
9
renderer . create ( < App /> ) ;
10
10
} ) ;
Original file line number Diff line number Diff line change 1
1
module . exports = function ( api ) {
2
2
api . cache ( true ) ;
3
3
return {
4
- presets : [ ' babel-preset-expo' ] ,
4
+ presets : [ " babel-preset-expo" ]
5
5
} ;
6
6
} ;
Original file line number Diff line number Diff line change 1
- import { AppRegistry } from ' react-native' ;
2
- import App from ' ./App' ;
3
- import { name as appName } from ' ./app.json' ;
1
+ import { AppRegistry } from " react-native" ;
2
+ import App from " ./App" ;
3
+ import { name as appName } from " ./app.json" ;
4
4
5
5
AppRegistry . registerComponent ( appName , ( ) => App ) ;
You can’t perform that action at this time.
0 commit comments