Working with View and Text Components
View Component
- The
View
component is a fundamental building block in React Native, similar to adiv
in web development; - It's used to structure and style the layout of your mobile app;
- Properties like
flex
,justifyContent
, andalignItems
control its layout.
Example
Text Component
- The
Text
component is used to display text in your app; - It's similar to the HTML
<span>
or<p>
tags; - You can style text using various properties such as
fontSize
,color
, andfontWeight
.
Example
In Practice
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 3
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 3.45
Working with View and Text Components
Veeg om het menu te tonen
View Component
- The
View
component is a fundamental building block in React Native, similar to adiv
in web development; - It's used to structure and style the layout of your mobile app;
- Properties like
flex
,justifyContent
, andalignItems
control its layout.
Example
Text Component
- The
Text
component is used to display text in your app; - It's similar to the HTML
<span>
or<p>
tags; - You can style text using various properties such as
fontSize
,color
, andfontWeight
.
Example
In Practice
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 3