add CopyButton and QR dialog for all Monero addresses/subaddresses
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user