mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
22 lines
397 B
Svelte
22 lines
397 B
Svelte
<script lang="ts">
|
|
export let path: string;
|
|
export let width = '1.5rem';
|
|
export let height = '1.5rem';
|
|
export let element: SVGElement | undefined = undefined;
|
|
export { _class as class };
|
|
|
|
let _class = '';
|
|
</script>
|
|
|
|
<svg
|
|
style="width: {width}; height: {height};"
|
|
viewBox="0 0 24 24"
|
|
fill="currentColor"
|
|
class={_class}
|
|
bind:this={element}
|
|
on:click
|
|
on:keyup
|
|
>
|
|
<path d={path} />
|
|
</svg>
|