<script lang="typescript">
    import SquareButton from "./SquareButton.svelte";

    export let id = "";
    export let className = "";
    export let props: Record<string, string> = {};
    export let title: string;

    export let icon = "";
    export let onClick: (event: MouseEvent) => void;
</script>

<SquareButton {id} {className} {props} {title} {onClick} on:mount>
    {@html icon}
</SquareButton>
