use array notation for start and end props

This commit is contained in:
Sahat Yalkabov 2015-09-17 03:07:33 -07:00
parent a81de75978
commit 0c699d479a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ props:
```javascript
<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]}
colors={['#4c669f', '#3b5998', '#192f6a']}
style={styles.linearGradient}>