export default ({ beforeHTML = "<h1>What is the total invoice amount on the invoice?</h1>", label = "Invoice Amount", name = "invoiceAmount", value = null, } = {}) => ({
  name,
  beforeHTML,
  fields: [
    {
      label,
      labelPosition: "stacked",
      inputMode: "decimal",
      placeholder: "0",
      required: true,
      name: "amount",
      type: "number",
      step: "0.01",
      value,
    },
  ],
});
