@rocket.chat/onboarding-ui
Version:
Set of components and functions for the onboarding experience on Rocket.Chat
27 lines • 1.23 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports._RegisterServerFormOffline = exports._RegisterServerForm = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const RegisterServerForm_1 = __importDefault(require("./RegisterServerForm"));
exports.default = {
title: 'forms/RegisterServerForm',
component: RegisterServerForm_1.default,
parameters: {
layout: 'centered',
actions: { argTypesRegex: '^on.*' },
},
args: {
currentStep: 1,
stepCount: 1,
},
};
const _RegisterServerForm = (args) => (0, jsx_runtime_1.jsx)(RegisterServerForm_1.default, { ...args });
exports._RegisterServerForm = _RegisterServerForm;
exports._RegisterServerForm.storyName = 'RegisterServerForm';
const _RegisterServerFormOffline = (args) => (0, jsx_runtime_1.jsx)(RegisterServerForm_1.default, { ...args, offline: true });
exports._RegisterServerFormOffline = _RegisterServerFormOffline;
exports._RegisterServerFormOffline.storyName = 'RegisterServerFormOffline';
//# sourceMappingURL=RegisterServerForm.stories.js.map