This commit is contained in:
tako-black 2015-03-27 14:33:27 +09:00
parent 3b7bd7401e
commit fb9bacdf2d

View File

@ -37,14 +37,14 @@ All the attribute names and values are a subset of what works on the web. For la
## Using Styles ## Using Styles
All the core components accept a style attribute All the core components accept a style attribute.
```javascript ```javascript
<Text style={styles.base} /> <Text style={styles.base} />
<View style={styles.background} /> <View style={styles.background} />
``` ```
and also accepts an array of styles And also accepts an array of styles.
```javascript ```javascript
<View style={[styles.base, styles.background]} /> <View style={[styles.base, styles.background]} />