Flesh out EventItem

This commit is contained in:
Jon Staab
2025-02-05 13:02:51 -08:00
parent 5909b593ab
commit 131cc99c47
4 changed files with 41 additions and 13 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
...restProps
}: {
children: Snippet
onclick?: (...args: unknown[]) => any
onclick?: (event: Event) => any
type?: "button" | "submit"
class?: string
style?: string
@@ -22,7 +22,7 @@
e.preventDefault()
e.stopPropagation()
onclick?.()
onclick?.(e)
}
</script>