<script>
	import Spinner from "../ui/Spinner.svelte";
	import Table from "../table/Table.svelte";
	import Tr from "../table/Tr.svelte";
	import Atd from "../table/Atd.svelte";

	export let query;

	/** @type {Array<string>} */
	export let columns = [];

	/** @type {Array<string>} */
	export let names = [];
</script>

<Table {columns} {query} let:item let:index>
	<Tr {index}>
		<Atd {item} {names}></Atd>
	</Tr>
</Table>
