import React from 'react' import { KeyboardAvoidingView, StyleSheet, View, type ViewProps } from 'react-native' import { useThemeColor } from '@/hooks/useThemeColor' import { isIOS } from '@/themes' import { useSafeAreaInsets } from 'react-native-safe-area-context' export type ThemedViewProps = ViewProps & { lightColor?: string darkColor?: string full?: boolean } export const ThemedView: React.FC = ({ style, lightColor, darkColor, children, full = false, ...otherProps }) => { const insets = useSafeAreaInsets() const backgroundColor = useThemeColor({ light: lightColor, dark: darkColor }, 'background') return ( {children} ) } const styles = StyleSheet.create({ flex: { flex: 1, }, })