UNPKG

@rocket.chat/onboarding-ui

Version:

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

13 lines 629 B
import type { ReactElement } from 'react'; import type { FieldPathValue, SubmitHandler, Validate } from 'react-hook-form'; export type ResetPasswordFormPayload = { email: string; }; type ResetPasswordFormProps = { initialValues?: ResetPasswordFormPayload; validateEmail: Validate<FieldPathValue<ResetPasswordFormPayload, 'email'>, ResetPasswordFormPayload>; onSubmit: SubmitHandler<ResetPasswordFormPayload>; }; declare const ResetPasswordForm: ({ onSubmit, validateEmail, initialValues, }: ResetPasswordFormProps) => ReactElement; export default ResetPasswordForm; //# sourceMappingURL=ResetPasswordForm.d.ts.map