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:
10
web/src/components/buttons/ActionButton.svelte
Normal file
10
web/src/components/buttons/ActionButton.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user