import React from 'react'; import { Text, View } from 'react-native'; import { useTheme } from '../../theme'; import Touch from '../Touch'; import { CustomIcon } from '../CustomIcon'; import { IButtonService } from './interfaces'; import styles from './styles'; const ButtonService = ({ name, authType, onPress, backgroundColor, buttonText, icon }: IButtonService) => { const { colors } = useTheme(); return ( {authType === 'oauth' || authType === 'apple' ? ( ) : null} {buttonText} ); }; export default ButtonService;