From d82fb3b552d20a279efdd9408042183cfa02fb48 Mon Sep 17 00:00:00 2001
From: schererleander <leander@schererleander.de>
Date: Thu, 25 Dec 2025 23:33:25 +0000
Subject: initial commit

---
 components/mdx-content.tsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 components/mdx-content.tsx

(limited to 'components/mdx-content.tsx')

diff --git a/components/mdx-content.tsx b/components/mdx-content.tsx
new file mode 100644
index 0000000..d93ba3d
--- /dev/null
+++ b/components/mdx-content.tsx
@@ -0,0 +1,12 @@
+'use client'
+
+import { useMDXComponent } from 'next-contentlayer2/hooks'
+
+interface MDXContentProps {
+  code: string
+}
+
+export function MDXContent({ code }: MDXContentProps) {
+  const Component = useMDXComponent(code)
+  return <Component />
+}
-- 
cgit v1.3.1

