<script lang="ts">
	import ObjectViewer from './ObjectViewer.svelte'

	export let result: any
</script>

<div class="w-full px-2">
	<span class="font-bold text-sm">Result</span>
	<div class="overflow-y-auto mb-2 w-full">
		<ObjectViewer allowCopy={false} json={{ result }} on:select />
	</div>
</div>
