export const FormErrorMessages = {
  required: "This field is required",
  maxLength: (length: number | string) =>
    `This field must be at most ${length} characters long`,
  minLength: (length: string | number) =>
    `This field must be at least ${length} characters long`,
  min: (value: number | string) => `This field must be at least ${value}`,
  max: (value: number | string) => `This field must be at most ${value}`,
  invalidEmail: "Email address is invalid",
  alphaNumeric: "This field can only contain letters and numbers",
  invalidPattern: "This field does not match the required pattern",
};