import { fullscreenStyle } from '@tamagui/stacks' import type { GetProps, GetRef } from '@tamagui/web' import { styled } from '@tamagui/web' import { ScrollView as ScrollViewNative } from 'react-native' export const ScrollView = styled( ScrollViewNative, { name: 'ScrollView', scrollEnabled: true, variants: { fullscreen: { true: fullscreenStyle, }, } as const, }, { accept: { contentContainerStyle: 'style', } as const, } ) export type ScrollView = GetRef export type ScrollViewProps = GetProps