23 lines
462 B
TypeScript
23 lines
462 B
TypeScript
export interface ResetPasswordFormField {
|
|
value: string;
|
|
error?: string;
|
|
touched: boolean;
|
|
validating: boolean;
|
|
}
|
|
|
|
export interface ResetPasswordFormState {
|
|
fields: {
|
|
newPassword: ResetPasswordFormField;
|
|
confirmPassword: ResetPasswordFormField;
|
|
};
|
|
isValid: boolean;
|
|
isSubmitting: boolean;
|
|
submitError?: string;
|
|
submitCount: number;
|
|
}
|
|
|
|
export interface ResetPasswordUIState {
|
|
showPassword: boolean;
|
|
showConfirmPassword: boolean;
|
|
}
|