Using 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
sourceprop; - Including the image's dimensions by providing its width and height is important.
Example
In Practice
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Ställ mig frågor om detta ämne
Sammanfatta detta kapitel
Visa verkliga exempel
Awesome!
Completion rate improved to 3.45
Using the Image Component
Svep för att visa menyn
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
sourceprop; - Including the image's dimensions by providing its width and height is important.
Example
In Practice
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4