Skip to content

Commit 3e7ccea

Browse files
committed
feat: TechList 컴포넌트 구현
1 parent d4c8ccc commit 3e7ccea

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

src/components/TechList.astro

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
import Tech from './Tech.astro';
3+
4+
type Props = {
5+
labels: string[];
6+
};
7+
8+
const { labels } = Astro.props;
9+
---
10+
11+
<ul class="flex flex-wrap items-center gap-2">
12+
{
13+
labels.map((label) => (
14+
<li>
15+
<Tech label={label} />
16+
</li>
17+
))
18+
}
19+
</ul>

0 commit comments

Comments
 (0)