<script lang="ts">
import EventForm from '$lib/timeline/EventForm.svelte';
import type { PageData, ActionData } from './$types';

let { data, form }: { data: PageData; form: ActionData } = $props();
</script>

<EventForm
	initialPersons={data.initialPersons}
	initialDocuments={data.initialDocuments}
	originPersonId={data.originPersonId}
	form={form}
/>
