ScrollView

Learn how to make components scrollable using the ScrollView component.

Mobile applications can contain lots of components. These components can be Image, TextInput, View, and more. Displaying all of them on a single screen can be challenging. This is where the ScrollView component comes in. It helps us to scroll vertically and horizontally to see all of the data rendered by the application. Furthermore, ScrollView can have multiple views and components.

Usage

To implement and use the ScrollView component, we first have to import it from the react-native library.

Press + to interact
import { ScrollView } from 'react-native';

Once the ScrollView component has been imported, we can use it ...

Access this course and 1400+ top-rated courses and projects.