<script lang="ts">
	import type { Snippet } from 'svelte';

	interface Props {
		message: string;
		children?: Snippet;
	}

	let { message, children }: Props = $props();
</script>

<div
	class="flex items-center justify-center border border-border p-12 text-base text-fg-subtle italic"
>
	<span class="flex items-center gap-2">{message}{@render children?.()}</span>
</div>
