blob: 8050e2922e22e3e447cd5f07a1856986bef679b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!--
Transient toast (the reference app's snackbars): surfaces the server's
`toastMessage` (scenario events) and protocol errors. The parent decides
when to show and clear it.
-->
<script lang="ts">
let { message }: { message: string | null } = $props();
</script>
{#if message}
<div class="toast" role="status">{message}</div>
{/if}
|