UNPKG

@rocket.chat/onboarding-ui

Version:

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

23 lines 1.26 kB
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { BackgroundLayer, FormPageLayout as FormLayout, } from '@rocket.chat/layout'; import { useTranslation, Trans } from 'react-i18next'; import FormPageLayout from '../../common/FormPageLayout'; import RequestTrialForm from '../../forms/RequestTrialForm'; import Description from './Description'; var RequestTrialPage = function (props) { var t = useTranslation().t; return (_jsx(BackgroundLayer, { children: _jsx(FormPageLayout, { description: _jsx(Description, {}), title: _jsxs(Trans, { i18nKey: 'page.requestTrial.title', children: ["Request a", _jsx(FormLayout.TitleHighlight, { children: "30-day Trial" })] }), subtitle: t('page.requestTrial.subtitle'), children: _jsx(RequestTrialForm, __assign({}, props)) }) })); }; export default RequestTrialPage; //# sourceMappingURL=RequestTrialPage.js.map