Created
February 9, 2024 09:02
-
-
Save Nelfimov/ba3768ecf31f804b7f9378807be4c2fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { FormattedMessage } from 'react-intl' | |
import { memo } from 'react' | |
import { Box } from '@ui/layout' | |
import { Link } from '@ui/link' | |
import { Space } from '@ui/text' | |
import { Text } from '@ui/text' | |
export const AlreadyRegisteredPrompt: React.FC = memo(() => ( | |
<Box alignItems='center' justifyContent='center'> | |
<Text fontSize='small.increased' fontWeight='regular' color='text.black' letterSpacing={0.52}> | |
<FormattedMessage | |
id='already_registered.already_registered' | |
defaultMessage='Уже зарегистрированы?' | |
/> | |
</Text> | |
<Space /> | |
<Text fontSize='small.increased' fontWeight='regular' letterSpacing={0.52}> | |
<Link href='/auth/login' data-testid='test-link'> | |
<FormattedMessage id='already_registered.enter' defaultMessage='Войти' /> | |
</Link> | |
</Text> | |
</Box> | |
)) |
Author
Nelfimov
commented
Feb 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment