Conteúdo do Curso
Foundations of React Native
Foundations of React Native
2. Core Concepts of React Native
Setting Up the React Native ProjectUnderstanding React Native ComponentsWorking with View and Text ComponentsUsing the Image ComponentStyling in React NativeChallenge: Apply Styles to ComponentsWorking with TouchableOpacity for User InteractionImplementing ScrollView for Scrolling ContentRendering Lists in React NativeChallenge: Build an Interactive Resort ListQuiz: React Native Basics
3. Essential React Native Principles
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
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3