import React from 'react' import {type StyleProp, View, type ViewStyle} from 'react-native' import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Text} from '#/components/Typography' export function FormContainer({ testID, titleText, children, style, }: { testID?: string titleText?: React.ReactNode children: React.ReactNode style?: StyleProp }) { const {gtMobile} = useBreakpoints() const t = useTheme() return ( {titleText && !gtMobile && ( {titleText} )} {children} ) }