ScrollView

A ScrollView component with dynamic theme-based styling for React Native.

Installation

Terminal
npx flexnative-cli add "https://registry.flexnative.com/c/scroll-view.json"

Usage


Importing
import { ScrollView } from "@/components/ui/scroll-view";
Using
<ScrollView>
{/* Your content here */}
</ScrollView>

API

ScrollView

A ScrollView component with dynamic theme-based styling for React Native.


PropTypeDescriptionDefault
styleStyleProp<ViewStyle>Additional styles for the ScrollView container.-
contentContainerStyleStyleProp<ViewStyle>Styles for the content container of the ScrollView.-
...propsScrollViewPropsAll native props from React Native's ScrollView.-