import { Surface } from "react-native-paper"; import { View, Text } from "react-native"; interface AuthCardProps { children: React.ReactNode; title?: string; subtitle?: string; } export const AuthCard = ({ children, title, subtitle }: AuthCardProps) => { return ( {(title || subtitle) && ( {title && ( {title} )} {subtitle && ( {subtitle} )} )} {children} ); };