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
A static image to display while loading the image source.
@@ -281,6 +294,16 @@ Fade animation duration in miliseconds.
281
294
282
295
---
283
296
297
+
### `height`
298
+
299
+
Height of the image component.
300
+
301
+
| Type |
302
+
| ------ |
303
+
| number |
304
+
305
+
---
306
+
284
307
### `loadingIndicatorSource`
285
308
286
309
Similarly to `source`, this property represents the resource used to render the loading indicator for the image. The loading indicator is displayed until image is ready to be displayed, typically after the image is downloaded.
@@ -393,6 +416,16 @@ More details about `resize` and `scale` can be found at http://frescolib.org/doc
393
416
394
417
---
395
418
419
+
### `referrerPolicy`
420
+
421
+
A string indicating which referrer to use when fetching the resource. Sets the value for `Referrer-Policy` header in the image request. Works similar to `referrerpolicy` attribute in HTML.
A string representing comma separated list of possible candidate image source. Each image source contains a URL of an image and a pixel density descriptor. If no descriptor is specified, it defaults to descriptor of `1x`.
481
+
482
+
If `srcSet` does not contain a `1x` descriptor, the value in `src` is used as image source with `1x` descriptor (if provided).
483
+
484
+
This prop has precedence over both the `src` and `source` props.
0 commit comments