forked from nathvarun/React-Native-Layout-Tutorial-Series
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organised Project files into folders
- Loading branch information
Showing
15 changed files
with
53 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,37 @@ | ||
import React from 'react'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import { StackNavigator } from 'react-navigation' | ||
import MainScreen from './Components/MainScreen' | ||
import React, { Component } from "react"; | ||
import { | ||
View, | ||
Text, | ||
StyleSheet | ||
} from "react-native"; | ||
|
||
export default class App extends React.Component { | ||
import { List, ListItem } from 'native-base' | ||
|
||
class App extends Component { | ||
render() { | ||
return ( | ||
<AppStackNavigator /> | ||
<View style={styles.container}> | ||
<List> | ||
<ListItem> | ||
<Text>Copy the project files from the respective folder into the Root of the app </Text> | ||
</ListItem> | ||
<ListItem> | ||
<Text> Run npm install </Text> | ||
</ListItem> | ||
<ListItem> | ||
<Text> Thats it!</Text> | ||
</ListItem> | ||
</List> | ||
</View > | ||
); | ||
} | ||
} | ||
|
||
const AppStackNavigator = StackNavigator({ | ||
|
||
Main: { | ||
screen: MainScreen | ||
} | ||
}) | ||
export default App; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); | ||
justifyContent: 'center' | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React, { Component } from "react"; | ||
import { | ||
View, | ||
Text, | ||
StyleSheet | ||
} from "react-native"; | ||
|
||
class App extends Component { | ||
render() { | ||
return ( | ||
<View style={styles.container}> | ||
<Text>Copy the project files from respective project files folder into the Root of the app.</Text> | ||
<Text> Run npm install </Text> | ||
<Text> Thats it ! </Text> | ||
</View> | ||
); | ||
} | ||
} | ||
export default App; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
alignItems: 'center', | ||
justifyContent: 'center' | ||
} | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.