![]() ![]() Open Page.js and add the following: import React from 'react' The icon is used from It’s a plain React component that renders some UI. The backgroundColor of the page, the name of the icon to display, as well as some title display below the icon. ![]() Import ViewPager from Page from './components/Page' Inside the file OnBoarding.js, add the following code snippet: import React from 'react' It is wrapped inside the ViewPager component that has a style of flex: 1. This view has a prop called key to differentiate between pages. Let’s start by building an onboarding screen that is going to have a single Page component wrapped inside a View.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |