mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 15:45:32 +00:00
fix typo
This commit is contained in:
parent
3b7bd7401e
commit
fb9bacdf2d
@ -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]} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user