@rocket.chat/onboarding-ui
Version:
Set of components and functions for the onboarding experience on Rocket.Chat
20 lines • 1.08 kB
JavaScript
;
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 OrganizationInfoForm_1 = __importDefault(require("../../forms/OrganizationInfoForm"));
const OrganizationInfoPage = ({ title, description, ...props }) => {
const pageLayoutStyleProps = {
justifyContent: 'center',
subTitleProps: {
fontWeight: '400',
},
};
return ((0, jsx_runtime_1.jsx)(layout_1.BackgroundLayer, { children: (0, jsx_runtime_1.jsx)(FormPageLayout_1.default, { styleProps: pageLayoutStyleProps, title: title, description: description, children: (0, jsx_runtime_1.jsx)(OrganizationInfoForm_1.default, { ...props }) }) }));
};
exports.default = OrganizationInfoPage;
//# sourceMappingURL=OrganizationInfoPage.js.map