UNPKG

@rocket.chat/onboarding-ui

Version:

Set of components and functions for the onboarding experience on Rocket.Chat

13 lines 1.1 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { BackgroundLayer } from '@rocket.chat/layout'; import FormPageLayout from '../../common/FormPageLayout'; import AwaitingConfirmationForm from '../../forms/AwaitConfirmationForm'; var pageLayoutStyleProps = { justifyContent: 'center', }; var AwaitingConfirmationPage = function (_a) { var title = _a.title, description = _a.description, currentStep = _a.currentStep, stepCount = _a.stepCount, securityCode = _a.securityCode, emailAddress = _a.emailAddress, onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest; return (_jsx(BackgroundLayer, { children: _jsx(FormPageLayout, { title: title, styleProps: pageLayoutStyleProps, description: description, children: _jsx(AwaitingConfirmationForm, { currentStep: currentStep, stepCount: stepCount, securityCode: securityCode, emailAddress: emailAddress, onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }) }) })); }; export default AwaitingConfirmationPage; //# sourceMappingURL=AwaitingConfirmationPage.js.map