add CopyButton and QR dialog for all Monero addresses/subaddresses

This commit is contained in:
2026-05-27 01:48:53 +08:00
parent 2139d5e6ff
commit a30038f9e7
2 changed files with 117 additions and 14 deletions
@@ -1,5 +1,6 @@
<script lang="ts">
import { electrobun } from '$lib/electrobun.js'
import { AspectRatio } from './ui/aspect-ratio'
let { text, size = 128 }: { text: string; size?: number } = $props()
@@ -18,4 +19,6 @@
{#if svgContent}
{@html svgContent}
{:else}
<AspectRatio ratio={1 / 1} class="size-32"></AspectRatio>
{/if}