mirror of
https://github.com/trycua/computer.git
synced 2026-04-28 11:10:17 -05:00
17 lines
516 B
TypeScript
17 lines
516 B
TypeScript
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
|
import * as TabsComponents from 'fumadocs-ui/components/tabs';
|
|
import type { MDXComponents } from 'mdx/types';
|
|
import { Mermaid } from './components/mermaid';
|
|
import IOU from './components/iou';
|
|
|
|
// use this function to get MDX components, you will need it for rendering MDX
|
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
Mermaid,
|
|
IOU,
|
|
...TabsComponents,
|
|
...components,
|
|
};
|
|
}
|