import { ScrollView as RNScrollView, type ScrollViewProps } from "react-native"; import { useCssElement, type StyledConfiguration, type StyledProps, } from "react-native-css"; import { copyComponentProperties } from "./copyComponentProperties"; const mapping: StyledConfiguration = { className: "style", contentContainerClassName: "contentContainerStyle", }; export const ScrollView = copyComponentProperties( RNScrollView, (props: StyledProps) => { return useCssElement(RNScrollView, props, mapping); }, ); export default ScrollView;