feat: add monorepo

This commit is contained in:
Mauricio Siu
2024-10-27 22:16:31 -06:00
parent fd1f028077
commit 9321ed16ed
319 changed files with 79066 additions and 355 deletions

View File

@@ -0,0 +1,19 @@
import { ImageZoom } from "fumadocs-ui/components/image-zoom";
import defaultComponents from "fumadocs-ui/mdx";
import type { MDXComponents } from "mdx/types";
export function useMDXComponents(components: MDXComponents): MDXComponents {
return {
...defaultComponents,
...components,
ImageZoom,
p: ({ children }) => (
<p className="text-[#3E4342] dark:text-muted-foreground">{children}</p>
),
li: ({ children, id }) => (
<li {...{ id }} className="text-[#3E4342] dark:text-muted-foreground">
{children}
</li>
),
};
}