Spaces:
Paused

cobalt-api / web /src /components /buttons /ActionButton.svelte
HF Bot
Clean commit for Hugging Face
f942fd0
Raw History Blame Contribute Delete
220 Bytes
<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>