Initial commit
This commit is contained in:
12
src/components/badge/BadgeList.astro
Normal file
12
src/components/badge/BadgeList.astro
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
import Badge from "./Badge.astro"
|
||||
interface Props {
|
||||
tags: string[]
|
||||
}
|
||||
|
||||
const { tags } = Astro.props
|
||||
---
|
||||
|
||||
<div class="flex flex-wrap gap-1">
|
||||
{tags.map((tag) => <Badge tag={tag} />)}
|
||||
</div>
|
Reference in New Issue
Block a user