UNPKG

next-gen-ui

Version:

Next Gen Ui is a home for front-end & UI/Ux developers. We provide all the necessary components required to build a scalable front-end application which suits the user experience in a unique way.

12 lines 448 B
import { LoginModel, SubmitHandler } from "./signup"; export declare type ErrorModel = { [key in keyof LoginModel]?: string; }; declare const useLoginLogic: (onSubmit: SubmitHandler, initialValues: LoginModel) => { values: LoginModel; errors: ErrorModel; handleChange: (fieldName: string) => (value: any) => void; handleSubmit: (event: any) => void; }; export default useLoginLogic; //# sourceMappingURL=use-login-logic.d.ts.map