mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Tweak some formatting of example index.ios.js
This commit is contained in:
parent
f3ddef0ff3
commit
47f3a77227
@ -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` – it’s 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>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user