2021-03-29 14:54:10 +02:00
|
|
|
<script lang="typescript">
|
|
|
|
import ButtonItem from "./ButtonItem.svelte";
|
2021-03-29 23:26:08 +02:00
|
|
|
import InnerButton from "./InnerButton.svelte";
|
2021-03-29 14:54:10 +02:00
|
|
|
|
2021-03-29 21:05:30 +02:00
|
|
|
export let className = "";
|
|
|
|
export let icon = "";
|
2021-03-29 17:32:43 +02:00
|
|
|
export let onClick: (event: ClickEvent) => void;
|
2021-03-29 14:54:10 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<ButtonItem>
|
2021-03-29 23:26:08 +02:00
|
|
|
<InnerButton {className} {onClick}>
|
2021-03-29 21:05:30 +02:00
|
|
|
{@html icon}
|
2021-03-29 23:26:08 +02:00
|
|
|
</InnerButton>
|
2021-03-29 14:54:10 +02:00
|
|
|
</ButtonItem>
|