import React, { FC } from 'react'; import { SignupForm } from './SignupForm'; import Page from 'app/core/components/Page/Page'; import { getConfig } from 'app/core/config'; import { connect } from 'react-redux'; import { hot } from 'react-hot-loader'; import { StoreState } from 'app/types'; const navModel = { main: { icon: 'gicon gicon-branding', text: 'Sign Up', subTitle: 'Register your Grafana account', breadcrumbs: [{ title: 'Login', url: 'login' }], }, node: { text: '', }, }; interface Props { email?: string; orgName?: string; username?: string; code?: string; name?: string; } export const SignupPage: FC = props => { return (

You're almost there.

We just need a couple of more bits of
information to finish creating your account.
); }; const mapStateToProps = (state: StoreState) => ({ ...state.location.routeParams, }); export default hot(module)(connect(mapStateToProps)(SignupPage));