UNPKG

@rocket.chat/onboarding-ui

Version:

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

17 lines 616 B
import type { ReactElement } from 'react'; import type { SubmitHandler } from 'react-hook-form'; export type LoginFormPayload = { email: string; password?: string; }; type LoginFormProps = { initialValues?: LoginFormPayload; onChangeForm: () => void; isPasswordLess?: boolean; onResetPassword: () => void; formError?: string; onSubmit: SubmitHandler<LoginFormPayload>; }; declare const LoginForm: ({ onSubmit, initialValues, isPasswordLess, onChangeForm, onResetPassword, formError, }: LoginFormProps) => ReactElement; export default LoginForm; //# sourceMappingURL=LoginForm.d.ts.map