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

  let { onLoad }: { onLoad: () => void } = $props();

  onMount(() => onLoad());
</script>
