Skip to content

Commit

Permalink
Fix tslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin-Credible committed Aug 14, 2016
1 parent 5bfcc12 commit ead7bdc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions src/root.android.tsx
Expand Up @@ -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>
Expand All @@ -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);
16 changes: 8 additions & 8 deletions src/root.ios.tsx
Expand Up @@ -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>
Expand All @@ -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.