import {useState} from 'react'; import {browserHistory} from 'react-router'; import styled from '@emotion/styled'; import {Alert} from 'sentry/components/alert'; import RadioBooleanField from 'sentry/components/forms/fields/radioField'; import SecretField from 'sentry/components/forms/fields/secretField'; import TextField from 'sentry/components/forms/fields/textField'; import Form from 'sentry/components/forms/form'; import ExternalLink from 'sentry/components/links/externalLink'; import {t, tct} from 'sentry/locale'; import ConfigStore from 'sentry/stores/configStore'; import type {AuthConfig} from 'sentry/types'; type Props = { authConfig: AuthConfig; }; function RegisterForm({authConfig}: Props) { const {hasNewsletter} = authConfig; const [error, setError] = useState(''); return (
); } const PrivacyPolicyLink = styled(ExternalLink)` color: ${p => p.theme.gray300}; &:hover { color: ${p => p.theme.textColor}; } `; export default RegisterForm;