<script>
	import Td from "./Td.svelte";
	/** @type {any} */
	export let item = {};

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

{#each names as name}
	<Td>
		{item[name]}
	</Td>
{/each}
