move images into subdirectory
This commit is contained in:
parent
8119e5e432
commit
9a6a629ea3
|
@ -81,7 +81,7 @@ or do it manually as described below:
|
|||
|
||||
The following code will produce something like this:
|
||||
|
||||
![Example code result](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/example.png)
|
||||
![Example code result](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/images/example.png)
|
||||
|
||||
```javascript
|
||||
// Within your render function
|
||||
|
@ -127,13 +127,13 @@ props:
|
|||
</LinearGradient>
|
||||
```
|
||||
|
||||
![Example with extra props](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/example-other-props.png)
|
||||
![Example with extra props](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/images/example-other-props.png)
|
||||
|
||||
### Updating the values for fun
|
||||
|
||||
Check out [Examples/AnimatedGradient] (`git clone` this project, cd into it, npm install, open in XCode and run) to see how this is done:
|
||||
|
||||
![Example with extra props](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/example-animated.gif)
|
||||
![Example with extra props](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/images/example-animated.gif)
|
||||
|
||||
*This gif was created using [licecap](http://www.cockos.com/licecap/) - a great piece of free OSS*
|
||||
|
||||
|
|
Before Width: | Height: | Size: 387 KiB After Width: | Height: | Size: 387 KiB |
Before Width: | Height: | Size: 305 KiB After Width: | Height: | Size: 305 KiB |
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 204 KiB |
Loading…
Reference in New Issue