Skip to content

Commit

Permalink
Merge pull request facebook#732 from trantienduchn/patch-2
Browse files Browse the repository at this point in the history
Update style.md
  • Loading branch information
rickhanlonii committed Jan 6, 2019
2 parents 98d9b6e + f1780fd commit 31831b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/style.md
Expand Up @@ -14,7 +14,7 @@ import React, { Component } from 'react';
import { AppRegistry, StyleSheet, Text, View } from 'react-native';
const styles = StyleSheet.create({
bigblue: {
bigBlue: {
color: 'blue',
fontWeight: 'bold',
fontSize: 30,
Expand All @@ -29,9 +29,9 @@ export default class LotsOfStyles extends Component {
return (
<View>
<Text style={styles.red}>just red</Text>
<Text style={styles.bigblue}>just bigblue</Text>
<Text style={[styles.bigblue, styles.red]}>bigblue, then red</Text>
<Text style={[styles.red, styles.bigblue]}>red, then bigblue</Text>
<Text style={styles.bigBlue}>just bigBlue</Text>
<Text style={[styles.bigBlue, styles.red]}>bigBlue, then red</Text>
<Text style={[styles.red, styles.bigBlue]}>red, then bigBlue</Text>
</View>
);
}
Expand Down

0 comments on commit 31831b5

Please sign in to comment.