Add more copy buttons

This commit is contained in:
Austen Adler 2023-04-26 22:58:25 -04:00
parent c9c39828a2
commit 021ac810e4
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,7 @@ clearable=true
placeholder="Enter address"></Svelecte>
-->
<script>
import CopyButton from '$lib/CopyButton.svelte';
export let value;
</script>
@ -31,5 +32,5 @@ placeholder="Enter address"></Svelecte>
bind:value
placeholder="Address"
on:change
/>
/><CopyButton data={value} />
</div>

View File

@ -1,4 +1,5 @@
<script>
import CopyButton from '$lib/CopyButton.svelte';
import { createEventDispatcher } from 'svelte';
const dispatch = createEventDispatcher();
@ -31,5 +32,5 @@
bind:value
placeholder="0.00"
on:change
/>
/><CopyButton data={value} />
</div>