Update README.md

Start and End are now specified as points rather than arrays.
This commit is contained in:
Tj 2015-08-21 07:43:10 -07:00
parent 136a71fd48
commit bf2024005e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ props:
```javascript
<LinearGradient
start={[0,0.25]} end={[0.5,1]}
start={{x:0.0, y:0.25}} end={{x:0.5, y:1.0}}
locations={[0,0.5,0.6]}
colors={['#4c669f', '#3b5998', '#192f6a']}
style={styles.linearGradient}>