ValidatedField: {
    key: string;
    label: string;
    required: boolean;
    type: "TEXT";
    validation: { errorMessage: string; regex: string };
}

Type declaration

  • key: string
  • label: string
  • required: boolean
  • type: "TEXT"
  • validation: { errorMessage: string; regex: string }