File size: 172 Bytes
ddf28a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script lang="ts">
	let {
		title,
		x,
		y
	}: {
		title: string | null;
		x: string;
		y: string;
	} = $props();
</script>

{#if title}
	{title}
{:else}
	{x} x {y}
{/if}