From bd26b2800e2675613c6990673ad0b7b5175aa841 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 13 Mar 2024 19:33:33 +0000
Subject: Add zip export

---
 components/export/ExportZipButton.vue | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 components/export/ExportZipButton.vue

(limited to 'components/export/ExportZipButton.vue')

diff --git a/components/export/ExportZipButton.vue b/components/export/ExportZipButton.vue
new file mode 100644
index 0000000..8fb6f60
--- /dev/null
+++ b/components/export/ExportZipButton.vue
@@ -0,0 +1,18 @@
+<script setup lang="ts">
+import type ExportZipModal from './ExportZipModal.vue';
+
+const exportZipModal = ref<InstanceType<typeof ExportZipModal> | null>(null);
+
+const startZipExport = async () => {
+  exportZipModal.value?.open();
+  exportZipModal.value?.startExport();
+}
+</script>
+
+<template>
+  <ClientOnly>
+    <Button type="solid" label="Continue" @click="startZipExport" />
+
+    <ExportZipModal ref="exportZipModal" />
+  </ClientOnly>
+</template>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

