Provides a scrolling container that can host multiple components and views.
const Example = () => {
return <ScrollView px={90} _contentContainerStyle={{
bg: "lime.300",
px: "44px",
w: "100%"
}}
height={400}>
<VStack>
{["one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven"].map(val => <Center rounded="lg" p={7} bg="primary.400" my={5} mb={3}>
{val}
</Center>)}
</VStack>
</ScrollView>;
};
ScrollView implements
,
,
,
,
,
,
,
,
,
,
,
,
,
Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element.
pass props to contentContainerStyle, and this also resolved NB tokens.