17 lines
314 B
TypeScript
17 lines
314 B
TypeScript
export interface ForgotPasswordFormField {
|
|
value: string;
|
|
error?: string;
|
|
touched: boolean;
|
|
validating: boolean;
|
|
}
|
|
|
|
export interface ForgotPasswordFormState {
|
|
fields: {
|
|
email: ForgotPasswordFormField;
|
|
};
|
|
isValid: boolean;
|
|
isSubmitting: boolean;
|
|
submitError?: string;
|
|
submitCount: number;
|
|
}
|