Add more copy buttons
This commit is contained in:
parent
c9c39828a2
commit
021ac810e4
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user