aboutsummaryrefslogtreecommitdiff
path: root/src/components/exporter/exporter.vue
blob: 156db9a337f368d7de5f709481a47c17a08af935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
  <div class="exporter">
    <div v-if="processing">
      <FAIcon icon="circle-notch" size="lg" spin />

      <span>{{ processingMessage }}</span>
    </div>
    <button
      v-else
      class="btn btn-default"
      @click="process"
    >
      {{ exportButtonLabel }}
    </button>
  </div>
</template>

<script src="./exporter.js"></script>

<style lang="scss">
.exporter {
  &-processing {
    margin: 0.25em;
  }
}
</style>