The ImageView component places an image on the screen. This component tries to maintain the aspect ratio of image. You can use the aspectRatio property for height calculations.

The image can be an external URL or a require of an internal element.

Basic example:

<ImageView
height="100%"
aspectRatio="4:3"
src={"https://picsum.photos/seed/2/420/270"}
/>

Param

ImageView properties

Has No Children

Hierarchy