Merge pull request #15 from sahat/patch-1

use array notation for start and end props
This commit is contained in:
Brent Vatne 2015-09-19 21:14:01 -07:00
commit 56913f9e1f
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}>