<script lang="ts">
	import type { ClassValue } from "svelte/elements";
	import LoaderCircle from "$icon/loader-circle";

	interface Props {
		class?: ClassValue | null;
	}

	let { class: className = "size-4" }: Props = $props();
</script>

<LoaderCircle class={[className, "animate-spin"]} aria-hidden="true" />
