Permalink
Browse files

Fix tslint errors

  • Loading branch information...
Justin-Credible committed Aug 14, 2016
1 parent 5bfcc12 commit ead7bdc1883f7eda3c026830aec5d63d4bb4dc91
Showing with 16 additions and 16 deletions.
  1. +8 −8 src/root.android.tsx
  2. +8 −8 src/root.ios.tsx
View
@@ -20,7 +20,7 @@ class SampleApp1 extends Component<any, any> {
To get started, edit index.android.js
</Text>
<Text style={styles.instructions}>
- Double tap R on your keyboard to reload,{'\n'}
+ Double tap R on your keyboard to reload,{"\n"}
Shake or press menu button for dev menu
</Text>
</View>
@@ -31,22 +31,22 @@ class SampleApp1 extends Component<any, any> {
const styles = StyleSheet.create({
container: {
flex: 1,
- justifyContent: 'center',
- alignItems: 'center',
- backgroundColor: '#F5FCFF',
+ justifyContent: "center",
+ alignItems: "center",
+ backgroundColor: "#F5FCFF",
} as __React.ViewStyle,
welcome: {
fontSize: 20,
- textAlign: 'center',
+ textAlign: "center",
margin: 10,
} as __React.TextStyle,
instructions: {
- textAlign: 'center',
- color: '#333333',
+ textAlign: "center",
+ color: "#333333",
marginBottom: 5,
} as __React.TextStyle,
});
-AppRegistry.registerComponent('SampleApp1', () => SampleApp1);
+AppRegistry.registerComponent("SampleApp1", () => SampleApp1);
View
@@ -20,7 +20,7 @@ class SampleApp1 extends Component<any, any> {
To get started, edit index.ios.js
</Text>
<Text style={styles.instructions}>
- Press Cmd+R to reload,{'\n'}
+ Press Cmd+R to reload,{"\n"}
Cmd+D or shake for dev menu
</Text>
</View>
@@ -31,22 +31,22 @@ class SampleApp1 extends Component<any, any> {
const styles = StyleSheet.create({
container: {
flex: 1,
- justifyContent: 'center',
- alignItems: 'center',
- backgroundColor: '#F5FCFF',
+ justifyContent: "center",
+ alignItems: "center",
+ backgroundColor: "#F5FCFF",
} as __React.ViewStyle,
welcome: {
fontSize: 20,
- textAlign: 'center',
+ textAlign: "center",
margin: 10,
} as __React.TextStyle,
instructions: {
- textAlign: 'center',
- color: '#333333',
+ textAlign: "center",
+ color: "#333333",
marginBottom: 5,
} as __React.TextStyle,
});
-AppRegistry.registerComponent('SampleApp1', () => SampleApp1);
+AppRegistry.registerComponent("SampleApp1", () => SampleApp1);

0 comments on commit ead7bdc

Please sign in to comment.