Exploring Basic Components
Explore and practice using different components, such as Text, View, etc.
Basic components
Let’s discuss a few components that are fundamental for building any application.
Note: We’ll learn about different components as we progress further in the course.
{ "12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true, "40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true }
Basic component example
Note: Once the server starts, click the URL next to “Your app can be found at:” to view the output.
Tip: When using mobile devices, use
Alert.alert
in place ofalert
.
The View
component
The View
component is used to group other components. It is ...