UNPKG

@rocket.chat/onboarding-ui

Version:

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

15 lines 943 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const layout_1 = require("@rocket.chat/layout"); const FormPageLayout_1 = __importDefault(require("../../common/FormPageLayout")); const AdminInfoForm_1 = __importDefault(require("../../forms/AdminInfoForm")); const pageLayoutStyleProps = { justifyContent: 'center', }; const AdminInfoPage = ({ title, description, ...props }) => ((0, jsx_runtime_1.jsx)(layout_1.BackgroundLayer, { children: (0, jsx_runtime_1.jsx)(FormPageLayout_1.default, { title: title, styleProps: pageLayoutStyleProps, description: description, children: (0, jsx_runtime_1.jsx)(AdminInfoForm_1.default, { ...props }) }) })); exports.default = AdminInfoPage; //# sourceMappingURL=AdminInfoPage.js.map