feat: types

This commit is contained in:
TrèsAbhi committed 2026-03-19 18:17:36 -05:00
1 parent cef18d4f64
commit c99ed0cb53
11 files changed
+195 -2

No files matched your search

@@ -1,5 +1,6 @@
---
import ApiMacroSee from "./ApiMacroSee.astro";
import ApiMacroType from "./ApiMacroType.astro";
import { MarkdownCustom } from "./MarkdownCustom";
interface Props {
@@ -54,6 +55,8 @@ for (const line of bodyOriginal.split("\n")) {
<div class="gutter"></div>
<div class="content">
<MarkdownCustom {body} />
{"see" in macros && <ApiMacroSee {locale} value={macros.see} />}
{"type" in macros && <ApiMacroType {locale} value={macros.type} />}
</div>
</div>