You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ export default MyImage;
72
72
| effect |`String`|| Name of the effect to use. Please, read next section with an explanation on how to use them. |
73
73
| loadedImageProps |`Object`|| Props passed to the `<img>` element once it's loaded. Useful to pass class names or style attributes that should only be applied once the image is loaded. |
74
74
| placeholder |`ReactClass`|`<span>`| React element to use as a placeholder. |
75
+
| placeholderProps |`Object`|| Props assigned to the placeholder <span>, useful to overwrite the style or assign other HTML attributes. |
75
76
| placeholderSrc |`String`|| Image src to display while the image is not visible or loaded. |
76
77
| threshold |`Number`| 100 | Threshold in pixels. So the image starts loading before it appears in the viewport. |
77
78
| visibleByDefault |`Boolean`| false | Whether the image must be visible from the beginning. |
0 commit comments