import { useHeaderHeight } from '@react-navigation/elements' import { StyleConstants } from '@utils/styles/constants' import { ForwardedRef, forwardRef, PropsWithChildren } from 'react' import { KeyboardAvoidingView, Platform, ScrollView } from 'react-native' import { SafeAreaView } from 'react-native-safe-area-context' export const ModalScrollView = forwardRef( ({ children }: PropsWithChildren, ref: ForwardedRef) => { const headerHeight = useHeaderHeight() return ( {children} ) } )