import React from 'react'; import { ScrollView, ScrollViewProps, StyleSheet, View } from 'react-native'; import { themes } from '../constants/colors'; import sharedStyles from '../views/Styles'; import scrollPersistTaps from '../utils/scrollPersistTaps'; import KeyboardView from '../presentation/KeyboardView'; import StatusBar from './StatusBar'; import AppVersion from './AppVersion'; import { isTablet } from '../utils/deviceInfo'; import SafeAreaView from './SafeAreaView'; interface IFormContainer extends ScrollViewProps { theme: string; testID: string; children: React.ReactNode; } const styles = StyleSheet.create({ scrollView: { minHeight: '100%' } }); export const FormContainerInner = ({ children }: { children: React.ReactNode }): JSX.Element => ( {children} ); const FormContainer = ({ children, theme, testID, ...props }: IFormContainer): JSX.Element => ( // @ts-ignore {/* @ts-ignore*/} {children} ); export default FormContainer;