Skip to content

Commit 7321186

Browse files
author
Brent Vatne
committed
Update Examples section of README
1 parent 29b4dac commit 7321186

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A `<LinearGradient>` component for react-native, as seen in
2020
5. Whenever you want to use it within React code now you can: `var LinearGradient =
2121
require('react-native-linear-gradient');`
2222

23-
## Example
23+
## Examples
2424

2525
The following code will produce something like this:
2626

@@ -70,5 +70,10 @@ props:
7070

7171
![Example with extra props](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/example-other-props.png)
7272

73+
Check out [Examples/AnimatedGradient] (`git clone` this project, cd into it, npm install, open in XCode and run) to see how this is done:
74+
75+
![Example with extra props](https://raw.githubusercontent.com/brentvatne/react-native-linear-gradient/master/example-animated.gif)
76+
*This gif was created using [licecap](http://www.cockos.com/licecap/) - a great piece of free OSS*
77+
7378
### An example app
7479
You can see this component in action in [brentvatne/react-native-login](https://github.com/brentvatne/react-native-login/blob/master/index.ios.js).

example-animated.gif

387 KB
Loading

0 commit comments

Comments
 (0)