mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 18:08:28 +00:00

also: - disabled ssr to enable localstorage - removed the workaround for hover, as it looks bad
9 lines
207 B
Svelte
9 lines
207 B
Svelte
<script lang="ts">
|
|
export let id: string;
|
|
export let click = () => { alert('no function assigned') };
|
|
</script>
|
|
|
|
<button id="button-{id}" class="button" on:click={click}>
|
|
<slot></slot>
|
|
</button>
|