Files
martials.no/src/components/badge/BadgeList.astro

13 lines
202 B
Plaintext

---
import Badge from "./Badge.astro"
interface Props {
tags: string[]
}
const { tags } = Astro.props
---
<div class="flex flex-wrap gap-1 py-0.5">
{tags.map((tag) => <Badge tag={tag} />)}
</div>