An image is a graphic representation of something (e.g photo or illustration). The borders have been added to these examples in order to help visualize empty space in the image frame.
For more details and examples visit the official docs. The R package can not handle each and every case, so for advanced use cases you need to work using the original docs to achieve the desired result.
Props to pass to
Additional css class to apply to the Component
Specifies the cover style to be used for this image. If not specified, this will be dynamically calculated based on the aspect ratio for the image.
Deprecated at v1.3.6, to replace the src in case of errors, use
onLoadingStateChange instead and rerender the Image with a difference src.
Used to determine how the image is scaled and cropped to fit the frame.
If true, the image frame will expand to fill its parent container.
(loadState: ImageLoadState) => void
Optional callback method for when the image load state has changed. The 'loadState' parameter indicates the current state of the Image.
If true, fades the image in when loaded.
If true, the image starts as visible and is hidden on error. Otherwise, the image is hidden until it is successfully loaded. This disables shouldFadeIn.
Call to provide customized styling that will layer on top of the variant rules
Theme provided by HOC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.