Skip to content

Commit 5b131da

Browse files
committed
Organised Project files into folders
1 parent 500de59 commit 5b131da

File tree

15 files changed

+53
-17
lines changed

15 files changed

+53
-17
lines changed

App.js

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,37 @@
1-
import React from 'react';
2-
import { StyleSheet, Text, View } from 'react-native';
3-
import { StackNavigator } from 'react-navigation'
4-
import MainScreen from './Components/MainScreen'
1+
import React, { Component } from "react";
2+
import {
3+
View,
4+
Text,
5+
StyleSheet
6+
} from "react-native";
57

6-
export default class App extends React.Component {
8+
import { List, ListItem } from 'native-base'
9+
10+
class App extends Component {
711
render() {
812
return (
9-
<AppStackNavigator />
13+
<View style={styles.container}>
14+
<List>
15+
<ListItem>
16+
<Text>Copy the project files from the respective folder into the Root of the app </Text>
17+
</ListItem>
18+
<ListItem>
19+
<Text> Run npm install </Text>
20+
</ListItem>
21+
<ListItem>
22+
<Text> Thats it!</Text>
23+
</ListItem>
24+
</List>
25+
</View >
1026
);
1127
}
1228
}
13-
14-
const AppStackNavigator = StackNavigator({
15-
16-
Main: {
17-
screen: MainScreen
18-
}
19-
})
29+
export default App;
2030

2131
const styles = StyleSheet.create({
2232
container: {
2333
flex: 1,
24-
backgroundColor: '#fff',
2534
alignItems: 'center',
26-
justifyContent: 'center',
27-
},
28-
});
35+
justifyContent: 'center'
36+
}
37+
});
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import React, { Component } from "react";
2+
import {
3+
View,
4+
Text,
5+
StyleSheet
6+
} from "react-native";
7+
8+
class App extends Component {
9+
render() {
10+
return (
11+
<View style={styles.container}>
12+
<Text>Copy the project files from respective project files folder into the Root of the app.</Text>
13+
<Text> Run npm install </Text>
14+
<Text> Thats it ! </Text>
15+
</View>
16+
);
17+
}
18+
}
19+
export default App;
20+
21+
const styles = StyleSheet.create({
22+
container: {
23+
flex: 1,
24+
alignItems: 'center',
25+
justifyContent: 'center'
26+
}
27+
});
Loading

0 commit comments

Comments
 (0)