2021-03-29 14:54:10 +02:00
|
|
|
<script lang="typescript">
|
2021-03-30 18:57:50 +02:00
|
|
|
import SquareButton from "./SquareButton.svelte";
|
2021-03-29 14:54:10 +02:00
|
|
|
|
2021-03-30 18:57:50 +02:00
|
|
|
export let id = "";
|
2021-03-29 21:05:30 +02:00
|
|
|
export let className = "";
|
2021-04-08 16:40:42 +02:00
|
|
|
export let tooltip: string;
|
2021-03-30 18:57:50 +02:00
|
|
|
|
2021-03-29 21:05:30 +02:00
|
|
|
export let icon = "";
|
2021-04-01 18:55:34 +02:00
|
|
|
export let onClick: (event: MouseEvent) => void;
|
2021-03-29 14:54:10 +02:00
|
|
|
</script>
|
|
|
|
|
2021-04-08 18:57:20 +02:00
|
|
|
<SquareButton {id} {className} {tooltip} {onClick} {...$$restProps} on:mount>
|
2021-03-30 00:51:44 +02:00
|
|
|
{@html icon}
|
2021-03-30 18:57:50 +02:00
|
|
|
</SquareButton>
|