2017-10-21 08:28:49 -06:00
|
|
|
import * as React from "react";
|
|
|
|
import { WidgetBody, Row } from "../ui/index";
|
2019-04-02 13:59:37 -06:00
|
|
|
import { t } from "../i18next_wrapper";
|
|
|
|
|
2017-10-21 08:28:49 -06:00
|
|
|
export function ResendPanelBody(props: { onClick(): void; }) {
|
|
|
|
return <WidgetBody>
|
|
|
|
<form>
|
|
|
|
<Row>
|
|
|
|
<p>
|
|
|
|
{t("Please check your email for the verification link.")}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{t("You may click the button below to resend the email.")}
|
|
|
|
</p>
|
|
|
|
</Row>
|
|
|
|
<Row>
|
|
|
|
<button onClick={props.onClick}
|
|
|
|
type="button"
|
2020-02-28 09:34:28 -07:00
|
|
|
title={t("Resend Verification Email")}
|
2017-10-21 08:28:49 -06:00
|
|
|
className="fb-button green pull-right front-page-button">
|
|
|
|
{t("Resend Verification Email")}
|
|
|
|
</button>
|
|
|
|
</Row>
|
|
|
|
</form>
|
|
|
|
</WidgetBody>;
|
|
|
|
}
|