This commit is contained in:
2023-01-04 19:45:25 +01:00
parent 0f882da5d1
commit fe5ce580ab
8 changed files with 15 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
<script lang="ts">
import QR from 'qrious'
import { t } from 'svelte-intl-precompile'
import { getCSSVariable } from '$lib/utils'
export let label: string
export let value: string
let canvas: HTMLCanvasElement
@@ -20,7 +20,7 @@
}
</script>
<small>{label}</small>
<small>{$t('common.qr_code')}</small>
<div>
<canvas bind:this={canvas} />
</div>