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

	export let component: ConstructorOfATypedSvelteComponent;
</script>

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