Skip to content

Commit c6c4b8d

Browse files
committed
- update readme with link to gh demo page
1 parent 36ede14 commit c6c4b8d

File tree

5 files changed

+558
-15
lines changed

5 files changed

+558
-15
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
npm install --save react-image-fade-in
1111
```
1212

13+
## [DEMO](https://patricktran.github.io/react-image-fade-in/)
14+
1315
## Usage
1416

1517
```jsx
@@ -36,8 +38,8 @@ This a list of props that you can pass down to the component:
3638
| `loadAsBackgroundImage` | if false, renders as an IMG tag. If true, renders a DIV with image as the background-image (style css) | false | bool |
3739
| `opacityTransition` | Duration of the fade in, in seconds (s) | 0.5s | number |
3840
| `onClick` | onClick handler | | function |
39-
| HTML Global Attributes | add your own attributes (style, className, id, etc.) |
40-
| HTML Event Attributes | add you own events (onBlur, onFocus, onMouseDown, etc.) |
41+
| `HTML Global Attributes` | add your own attributes (style, className, id, etc.) |
42+
| `HTML Event Attributes` | add you own events (onBlur, onFocus, onMouseDown, etc.) |
4143

4244
## License
4345

0 commit comments

Comments
 (0)