The Image component on React native

·

1 min read

The React native framework offers multiple libraries, components, and tools for the development of Android and IOS applications.

One of these components is the "Image" component which allows us to insert and manage the behavior of images inside our application.

Inside the Image component, several props and functions provide a wider range of possibilities regarding data transmission between parent and child components (props) and behavior control, state change, and events handling inside the component (methods).

For example, the "Height" prop allows us to define the height of the image component, and the "get size()" method retrieves the width and height of the image in pixels before display.