Skip to main content

Variable: ScrollView

const ScrollView: ForwardRefExoticComponent<object & ViewProps & object & RefAttributes<unknown>>

Defined in: packages/@mapples/ui/src/components/views/ScrollView/ScrollView.tsx:37

A customizable scrollable view component with built-in styling support.

The ScrollView component extends React Native's ScrollView with additional styling capabilities through the @mapples/style system. It provides a scrollable container with hidden scroll indicators by default.

Example

<ScrollView
styled={{
style: {
backgroundColor: 'white',
padding: 16,
},
}}
>
<Text>Scrollable content goes here</Text>
<Text>More content...</Text>
</ScrollView>