We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6a984 commit 3f29854Copy full SHA for 3f29854
apps/developer-hub/src/mdx-components.tsx
@@ -1,9 +1,16 @@
1
+import { Tab, Tabs } from "fumadocs-ui/components/tabs";
2
import defaultMdxComponents from "fumadocs-ui/mdx";
3
import type { MDXComponents } from "mdx/types";
4
5
+import { Callout } from "./components/Callout";
6
+
7
export function getMDXComponents(components?: MDXComponents): MDXComponents {
8
return {
9
...defaultMdxComponents,
10
+ Tabs,
11
+ Tab,
12
...components,
13
+ // Add custom components as lowercase to follow MDX convention
14
+ Callout: Callout,
15
};
16
}
0 commit comments