import { PropsWithChildren, forwardRef } from 'react'; import { View, ViewProps } from 'react-native'; import { useTheme } from '../hooks/useTheme'; type ThemedViewProps = PropsWithChildren; export const ThemedView = forwardRef(({ children, style, ...props }, ref) => { const { colors } = useTheme(); return ( {children} ); });