/**
 * Form State
 * 
 * Complete state for a form.
 */

import { FormFieldState } from './FormFieldState';

export interface FormState {
  fields: {
    email: FormFieldState;
    password: FormFieldState;
    rememberMe: FormFieldState;
  };
  isValid: boolean;
  isSubmitting: boolean;
  submitError?: string;
  submitCount: number;
}