Files
wg-easy-ca-lose/src/app/components/Clients/QRCodeDialog.vue
T
Bernd Storath 4e4bfc75e3 feat: add config btn and modal to view and copy config (#2289)
* add view config btn and modal

* show loading state

* add note about keyboard
2025-11-18 11:36:46 +01:00

22 lines
463 B
Vue

<template>
<BaseDialog>
<template #trigger>
<slot />
</template>
<template #description>
<div class="bg-white">
<img :src="qrCode" />
</div>
</template>
<template #actions>
<DialogClose as-child>
<BaseSecondaryButton>{{ $t('dialog.cancel') }}</BaseSecondaryButton>
</DialogClose>
</template>
</BaseDialog>
</template>
<script setup lang="ts">
defineProps<{ qrCode: string }>();
</script>