Merge pull request #135 from kevinvangelder/patch-1

Update Readme With New Start/End Object Syntax
This commit is contained in:
Dmitry Gladkov 2016-12-29 00:41:30 +02:00 committed by GitHub
commit e68a7eb0d3
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ props:
```javascript
<LinearGradient
start={[0.0, 0.25]} end={[0.5, 1.0]}
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}>