mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/ActionButton: clean up
This commit is contained in:
parent
a9f9a3e342
commit
26eaac5742
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
<script lang="ts">
|
||||
export let id: string;
|
||||
export let click = () => { alert('no function assigned') };
|
||||
export let click = () => {
|
||||
alert("no function assigned");
|
||||
};
|
||||
</script>
|
||||
|
||||
<button id="button-{id}" class="button" on:click={click}>
|
||||
|
|
Loading…
Reference in a new issue