@rocket.chat/onboarding-ui
Version:
Set of components and functions for the onboarding experience on Rocket.Chat
17 lines • 787 B
TypeScript
import type { ReactElement } from 'react';
import type { FieldPathValue, SubmitHandler, Validate } from 'react-hook-form';
import type { RegisterServerPayload } from '../../forms/RegisterServerForm/RegisterServerForm';
type RegisterServerPageProps = {
currentStep: number;
stepCount: number;
initialValues?: Partial<RegisterServerPayload>;
onSubmit: SubmitHandler<RegisterServerPayload>;
onClickRegisterOffline: () => void;
offline?: boolean;
validateEmail?: Validate<FieldPathValue<RegisterServerPayload, 'email'>, RegisterServerPayload>;
termsHref?: string;
policyHref?: string;
};
declare const RegisterServerPage: (props: RegisterServerPageProps) => ReactElement;
export default RegisterServerPage;
//# sourceMappingURL=RegisterServerPage.d.ts.map