import React from 'react' import { Text } from '@chakra-ui/react' import { TextLink } from 'components/shared/TextLink' type Props = { type: 'register' | 'signin' } export const AuthSwitcher = ({ type }: Props) => ( <> {type === 'signin' ? ( Don't have an account?{' '} Sign up for free ) : ( Already have an account? Sign in )} )