<script lang="ts">
  import type { SpecificationAttribute } from '$lib'
  import type { Snippet } from 'svelte'
  import SpecRow from './SpecRow.svelte'

  const { attributes }: { attributes: SpecificationAttribute[] } = $props()
</script>

<dl class="space-y-3">
  {#each attributes as attribute (attribute.key)}
    <SpecRow {attribute} />
  {/each}
</dl>
