import { useLocalize } from '../../../context/localize' import { useSession } from '../../../context/session' import { Icon } from '../../_shared/Icon' import styles from './SocialProviders.module.scss' type Provider = 'facebook' | 'google' | 'github' // 'vk' | 'telegram' export const SocialProviders = () => { const { t } = useLocalize() const { actions: { oauth }, } = useSession() return (
{t('or sign in with social networks')}
oauth('google')}> oauth('facebook')}> oauth('github')}>
) }