In this recipe, we will learn about flexbox. In the previous recipes in this chapter we've been using flexbox to create some layouts, but in this recipe we will focus on the properties we have at our disposal to create a profile page.
We need to create an empty app using the React Native CLI--let's name it
SimpleLayout. We are going to use a few icons and an image to show in the profile page. You can use your own or download the assets for this recipe.
srcfolder in the root of the project. Then we need to create the
MainApp.jsfile where we are going to define the code for this recipe.