Skip to content

Commit 94e8e95

Browse files
author
Matthieu Napoli
committed
Improve the example UI
1 parent 6c084bd commit 94e8e95

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

App/Containers/Example/ExampleScreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ExampleScreen extends React.Component {
2424

2525
return (
2626
<View style={Style.container}>
27-
<Text style={Style.title}>Welcome to React Native!</Text>
27+
<Text style={Style.title}>TheCodingMachine boilerplate</Text>
2828
<Text style={Style.text}>To get started, edit App.js</Text>
2929
<Text style={Style.text}>{instructions}</Text>
3030
<Text style={Style.text}>The weather temperature is: {temperature}</Text>

App/Containers/Example/ExampleScreenStyle.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ import ApplicationStyles from 'App/Theme/ApplicationStyles'
55
export default StyleSheet.create({
66
container: {
77
...ApplicationStyles.screen.container,
8+
margin: 30,
9+
flex: 1,
10+
justifyContent: 'center',
811
},
912
title: {
10-
...Fonts.style.h1,
13+
...Fonts.style.h2,
1114
textAlign: 'center',
12-
margin: 10,
15+
marginBottom: 10,
1316
},
1417
text: {
1518
...Fonts.style.normal,

0 commit comments

Comments
 (0)