Tweak some formatting of example index.ios.js

This commit is contained in:
Andrew Sardone 2015-03-31 17:09:19 -04:00
parent f3ddef0ff3
commit 47f3a77227

View File

@ -48,7 +48,7 @@ $ mkdir ReactComponent
$ touch index.ios.js
```
Copy & paste following starter code for **index.ios.js**.
Copy & paste following starter code for `index.ios.js` its a barebones React Native app:
```
'use strict';
@ -68,9 +68,11 @@ var styles = React.StyleSheet.create({
class SimpleApp extends React.Component {
render() {
return <View style={styles.container}>
return (
<View style={styles.container}>
<Text>This is a simple application.</Text>
</View>;
</View>
)
}
}