mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
15 lines
413 B
Svelte
15 lines
413 B
Svelte
<script lang="typescript">
|
|
import SquareButton from "./SquareButton.svelte";
|
|
|
|
export let id = "";
|
|
export let className = "";
|
|
export let props: Record<string, string> = {};
|
|
export let tooltip: string;
|
|
|
|
export let icon = "";
|
|
export let onClick: (event: MouseEvent) => void;
|
|
</script>
|
|
|
|
<SquareButton {id} {className} {props} {tooltip} {onClick} on:mount>
|
|
{@html icon}
|
|
</SquareButton>
|