<script lang="ts">
	import PartSelector from './PartSelector.svelte';
	import { type Part } from '$lib/api/dashboard/a76/parts';

	let {
		open = $bindable(false),
		onSelect
	}: {
		open: boolean;
		onSelect: (item: Part) => void;
	} = $props();
</script>

<PartSelector bind:open {onSelect} />
