mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
14 lines
362 B
Svelte
14 lines
362 B
Svelte
<script lang="typescript">
|
|
import SquareButton from "./SquareButton.svelte";
|
|
|
|
export let id = "";
|
|
export let className = "";
|
|
export let props: Record<string, string> = {};
|
|
|
|
export let icon = "";
|
|
export let onClick: (event: ClickEvent) => void;
|
|
</script>
|
|
|
|
<SquareButton {id} {className} {props} {onClick}>
|
|
{@html icon}
|
|
</SquareButton>
|