Files
drop-app/components/WindowControl.vue
2024-10-09 00:37:27 +11:00

13 lines
301 B
Vue

<template>
<HeaderButton @click="() => window.close()">
<XMarkIcon />
</HeaderButton>
</template>
<script setup lang="ts">
import { MinusIcon, XMarkIcon } from "@heroicons/vue/16/solid";
import { getCurrentWindow } from "@tauri-apps/api/window";
const window = getCurrentWindow();
</script>