pleroma-fe/src/components/exporter/exporter.vue
2020-11-24 12:32:42 +02:00

30 lines
477 B
Vue

<template>
<div class="exporter">
<div v-if="processing">
<FAIcon
icon="circle-notch"
size="lg"
spin
/>
<span>{{ processingMessage }}</span>
</div>
<button
v-else
class="btn button-default"
@click="process"
>
{{ exportButtonLabel }}
</button>
</div>
</template>
<script src="./exporter.js"></script>
<style lang="scss">
.exporter {
&-processing {
margin: 0.25em;
}
}
</style>