File tree Expand file tree Collapse file tree 1 file changed +1
-40
lines changed Expand file tree Collapse file tree 1 file changed +1
-40
lines changed Original file line number Diff line number Diff line change 7
7
import React , { Component } from 'react' ;
8
8
import {
9
9
AppRegistry ,
10
- StyleSheet ,
11
- Text ,
12
- View
13
10
} from 'react-native' ;
14
11
15
- class Soccer extends Component {
16
- render ( ) {
17
- return (
18
- < View style = { styles . container } >
19
- < Text style = { styles . welcome } >
20
- Welcome to React Native!
21
- </ Text >
22
- < Text style = { styles . instructions } >
23
- To get started, edit index.ios.js
24
- </ Text >
25
- < Text style = { styles . instructions } >
26
- Press Cmd+R to reload,{ '\n' }
27
- Cmd+D or shake for dev menu
28
- </ Text >
29
- </ View >
30
- ) ;
31
- }
32
- }
33
-
34
- const styles = StyleSheet . create ( {
35
- container : {
36
- flex : 1 ,
37
- justifyContent : 'center' ,
38
- alignItems : 'center' ,
39
- backgroundColor : '#F5FCFF' ,
40
- } ,
41
- welcome : {
42
- fontSize : 20 ,
43
- textAlign : 'center' ,
44
- margin : 10 ,
45
- } ,
46
- instructions : {
47
- textAlign : 'center' ,
48
- color : '#333333' ,
49
- marginBottom : 5 ,
50
- } ,
51
- } ) ;
12
+ import Soccer from './Soccer' ;
52
13
53
14
AppRegistry . registerComponent ( 'Soccer' , ( ) => Soccer ) ;
You can’t perform that action at this time.
0 commit comments