Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Using the Image Component | Core Concepts of React Native
Foundations of React Native

bookUsing the Image Component

Theory

  • The Image component is used to display images in your app;
  • It's similar to the HTML <img> tag;
  • You can set the source of the image using the source prop;
  • Including the image's dimensions by providing its width and height is important.

Example

In Practice

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Awesome!

Completion rate improved to 3.45

bookUsing the Image Component

Sveip for å vise menyen

Theory

  • The Image component is used to display images in your app;
  • It's similar to the HTML <img> tag;
  • You can set the source of the image using the source prop;
  • Including the image's dimensions by providing its width and height is important.

Example

In Practice

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4
some-alt