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
{{ message }}
This repository was archived by the owner on Aug 19, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+11-1
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,18 @@ If you use the UMD build you can find the library on `window.ReactProgressiveIma
28
28
29
29
`ProgressiveImage` accepts a render callback as a child, which will be called with the `placeholder` first, and then `src` once the image has been loaded.
It will also call the render callback with a second argument, `loading`, which you can use to quickly determine what image is being rendered. `loading` will be `true` when the placeholder is rendered, and `false` when the full image is rendered.
0 commit comments