<template>
  <div class="card-body">
    <field label="Inzendingen downloaden" class="mb-0" no-focus>
      <a class="btn btn-primary" :href="'/api/form-builder/export/' + this.formId" download>Genereer bestand</a>
    </field>
  </div>
</template>

<script>
import field from '../shared/form/field.vue';

export default {
  props: {
    formId: {
      type: String,
      required: true,
    }
  },
  components: {
    field
  }
}
</script>
