Files
blitzkit/packages/website-ue/src/components/ApiGroup.astro
T

17 lines
320 B
Plaintext
Raw Normal View History

2026-03-15 23:23:29 -05:00
---
import type { CollectionEntry } from "astro:content";
2026-03-18 18:30:06 -05:00
import ApiEntry from "./ApiEntry.astro";
2026-03-15 23:23:29 -05:00
interface Props {
2026-03-15 23:29:33 -05:00
locale: string;
2026-03-15 23:23:29 -05:00
apis: CollectionEntry<"api">[];
}
2026-03-15 23:29:33 -05:00
const { apis, locale } = Astro.props;
2026-03-15 23:23:29 -05:00
---
{
apis
.sort((a, b) => a.id.localeCompare(b.id))
2026-03-18 18:30:06 -05:00
.map((api) => <ApiEntry {locale} {api} />)
2026-03-15 23:23:29 -05:00
}