Spaces:
Runtime error
Runtime error
File size: 393 Bytes
20b9d56 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<script lang="ts">
import Info from '$lib/components/icons/Info.svelte';
export let content = '';
</script>
<div class="flex my-2 gap-2.5 border px-4 py-3 border-red-800 bg-red-800/30 rounded-lg">
<div class=" self-start mt-0.5">
<Info className="size-5" />
</div>
<div class=" self-center text-sm">
{typeof content === 'string' ? content : JSON.stringify(content)}
</div>
</div>
|