import React from 'react'; import { TouchableOpacity, Text } from 'react-native'; import { SocialButtonProps } from './SocialButton.props'; import { getStyles } from './SocialButton.styles'; import { useAppTheme } from '@theme'; import Svg, { Path } from 'react-native-svg'; const GoogleIcon = ({ style }: { style: any }) => ( ); const AppleIcon = ({ style, color }: { style: any; color: string }) => ( ); export const SocialButton: React.FC = ({ provider, onPress, style, ...rest }) => { const { colors } = useAppTheme(); const styles = getStyles(colors); const isGoogle = provider === 'google'; const label = isGoogle ? 'Google' : 'Apple'; return ( {isGoogle ? ( ) : ( )} {label} ); };