use array notation for start and end props
This commit is contained in:
parent
a81de75978
commit
0c699d479a
|
@ -63,7 +63,7 @@ props:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
<LinearGradient
|
<LinearGradient
|
||||||
start={{x:0.0, y:0.25}} end={{x:0.5, y:1.0}}
|
start={[0.0, 0.25]} end={[0.5, 1.0]}
|
||||||
locations={[0,0.5,0.6]}
|
locations={[0,0.5,0.6]}
|
||||||
colors={['#4c669f', '#3b5998', '#192f6a']}
|
colors={['#4c669f', '#3b5998', '#192f6a']}
|
||||||
style={styles.linearGradient}>
|
style={styles.linearGradient}>
|
||||||
|
|
Loading…
Reference in New Issue