Skip to main content

Command Palette

Search for a command to run...

The Image component on React native

Published
1 min readView as Markdown

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.