blob: 7a07bd7278ce3f3cc3411cf8157f6bc26b32db60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<script lang="ts">
import type { MouseEventHandler } from 'svelte/elements';
interface Props {
title: string;
onclick: MouseEventHandler<HTMLButtonElement>;
}
let { title, onclick }: Props = $props();
</script>
<button class="btn-blue" {title} aria-label={title} {onclick}>
<span class="icon-base icon-[material-symbols--add]"></span>
</button>
|