<script lang="ts">
	import Modal from "$lib/components/Modal.svelte";
	import ToolEdit from "../ToolEdit.svelte";

	let { form = $bindable() } = $props();
</script>

<Modal
	on:close={() => window.history.back()}
	width="h-[95dvh] w-[90dvw] overflow-hidden rounded-2xl bg-white shadow-2xl outline-none sm:h-[85dvh] xl:w-[1200px] 2xl:h-[75dvh]"
>
	<ToolEdit bind:form on:close={() => window.history.back()} />
</Modal>
