Update Readme With New Start/End Object Syntax

#129 changed the syntax for start/end but neglected to update the example in the readme.
This commit is contained in:
Kevin VanGelder 2016-12-28 11:58:46 -08:00 committed by GitHub
parent 6d4ee6274a
commit 2650f1b770
1 changed files with 1 additions and 1 deletions

View File

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