mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 15:45:32 +00:00
commit
3f0e3b7d5e
@ -37,14 +37,14 @@ All the attribute names and values are a subset of what works on the web. For la
|
||||
|
||||
## Using Styles
|
||||
|
||||
All the core components accept a style attribute
|
||||
All the core components accept a style attribute.
|
||||
|
||||
```javascript
|
||||
<Text style={styles.base} />
|
||||
<View style={styles.background} />
|
||||
```
|
||||
|
||||
and also accepts an array of styles
|
||||
They also accept an array of styles.
|
||||
|
||||
```javascript
|
||||
<View style={[styles.base, styles.background]} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user