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
@@ -63,6 +63,7 @@ export default MyImage;
63
63
| placeholderSrc |`String`|| Image src to display while the image is not visible or loaded. |
64
64
| threshold |`Number`| 100 | Threshold in pixels. So the image starts loading before it appears in the viewport. |
65
65
| visibleByDefault |`Boolean`| false | Whether the image must be visible from the beginning. |
66
+
| wrapperClassName |`string`|| In some occasions (for example, when using a placeholderSrc) a wrapper span tag is rendered. This prop allows setting a class to that element. |
0 commit comments