React Native Day 11 Scroll View

We will try to acheive below out put using scrollview :).

 

Scroll View is a content view that can contain a number of subviews and user can scroll up down.

We can use ScrollView component for this purpose. And the other child component will be child/subviews/subcomponent of scrollView.

Lets’ start creating new project:

On terminal/command line type it:

Open App.js with “Atom” or “VSCode” and replace App.js code as per below:

Thanks!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.