@rocket.chat/onboarding-ui
Version:
Set of components and functions for the onboarding experience on Rocket.Chat
30 lines • 1.38 kB
TypeScript
import type { StoryFn } from '@storybook/react-webpack5';
import RegisterServerForm from './RegisterServerForm';
declare const _default: {
title: string;
component: ({ currentStep, stepCount, initialValues, validateEmail, offline, onSubmit, termsHref, policyHref, onClickRegisterOffline, }: {
currentStep: number;
stepCount: number;
initialValues?: Partial<import("./RegisterServerForm").RegisterServerPayload>;
validateEmail?: import("react-hook-form").Validate<import("react-hook-form").FieldPathValue<import("./RegisterServerForm").RegisterServerPayload, "email">, import("./RegisterServerForm").RegisterServerPayload>;
onSubmit: import("react-hook-form").SubmitHandler<import("./RegisterServerForm").RegisterServerPayload>;
onClickRegisterOffline: () => void;
termsHref?: string;
policyHref?: string;
offline?: boolean;
}) => import("react").ReactElement;
parameters: {
layout: string;
actions: {
argTypesRegex: string;
};
};
args: {
currentStep: number;
stepCount: number;
};
};
export default _default;
export declare const _RegisterServerForm: StoryFn<typeof RegisterServerForm>;
export declare const _RegisterServerFormOffline: StoryFn<typeof RegisterServerForm>;
//# sourceMappingURL=RegisterServerForm.stories.d.ts.map