Adding styles to text and containers
We have several components at our disposal, but containers and texts are the most common and useful components to create layouts or other components. In this recipe, we will see how to use containers and text, but most importantly we will see how styles work in React Native.
We will create a UI for a simple music player; we won't be using icons for now, but we will add them later.
Please follow the instructions in the introduction in order to create a new app with the name
How to do it...
- Let's start by creating an
- In the
MainApp.jsfile, we are going ...