<script lang="ts">
	import { notifications } from "./shared.js"

	export let component: ConstructorOfATypedSvelteComponent;
</script>

{#each Object.entries($notifications) as [key, notification]}
	<svelte:component this={component} {notification}></svelte:component>
{/each}