Add more copy buttons
This commit is contained in:
parent
c9c39828a2
commit
021ac810e4
@ -20,6 +20,7 @@ clearable=true
|
|||||||
placeholder="Enter address"></Svelecte>
|
placeholder="Enter address"></Svelecte>
|
||||||
-->
|
-->
|
||||||
<script>
|
<script>
|
||||||
|
import CopyButton from '$lib/CopyButton.svelte';
|
||||||
export let value;
|
export let value;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -31,5 +32,5 @@ placeholder="Enter address"></Svelecte>
|
|||||||
bind:value
|
bind:value
|
||||||
placeholder="Address"
|
placeholder="Address"
|
||||||
on:change
|
on:change
|
||||||
/>
|
/><CopyButton data={value} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
|
import CopyButton from '$lib/CopyButton.svelte';
|
||||||
import { createEventDispatcher } from 'svelte';
|
import { createEventDispatcher } from 'svelte';
|
||||||
|
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
@ -31,5 +32,5 @@
|
|||||||
bind:value
|
bind:value
|
||||||
placeholder="0.00"
|
placeholder="0.00"
|
||||||
on:change
|
on:change
|
||||||
/>
|
/><CopyButton data={value} />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user