14 lines
358 B
Svelte
14 lines
358 B
Svelte
<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>
|