import {useState} from 'react'; import {browserHistory} from 'react-router'; import {Alert} from 'sentry/components/alert'; import TextField from 'sentry/components/forms/fields/textField'; import Form from 'sentry/components/forms/form'; import {t, tct} from 'sentry/locale'; import {AuthConfig} from 'sentry/types'; type Props = { authConfig: AuthConfig; }; function SsoForm({authConfig}: Props) { const [error, setError] = useState(''); const {serverHostname} = authConfig; return (
); } type SlugExampleProps = { hostname: string; slug: string; }; function SlugExample({hostname, slug}: SlugExampleProps) { return (
{hostname}/{slug}
);
}
export default SsoForm;