web/save: add paste button & dummy mode buttons

tuned default button look, moved custom icons to lib for easy access
This commit is contained in:
wukko
2024-06-15 20:39:34 +06:00
parent e6ffa4864c
commit bf26988cde
9 changed files with 101 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
<script lang="ts">
export let id: string;
export let text: string = "Button";
export let click = () => { alert('no function assigned') };
</script>
<button id={id} on:click={click}>
<slot></slot>
{text}
</button>