Open History to see the last commit
1import type { ComponentProps } from "react";
2import { Platform } from "react-native";
3import { NativeScrollView as ScrollView } from "../../native/NativeScrollViewMarker";
4
5export function ScreenScrollView(props: ComponentProps<typeof ScrollView>) {
6 return (
7 <ScrollView
8 {...props}
9 contentContainerStyle={[
10 props.contentContainerStyle,
11 Platform.OS === "android" && {
12 width: "100%",
13 maxWidth: 720,
14 alignSelf: "center",
15 },
16 ]}
17 />
18 );
19}