mirror of
https://github.com/dathere/ckanaction.git
synced 2025-12-18 16:29:25 +00:00
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
import defaultComponents from "fumadocs-ui/mdx";
|
|
import type { MDXComponents } from "mdx/types";
|
|
import { APIPage } from "@/components/api-page";
|
|
|
|
// make sure you can use it in MDX files
|
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultComponents,
|
|
APIPage,
|
|
...components,
|
|
};
|
|
}
|