mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
13 lines
393 B
TypeScript
13 lines
393 B
TypeScript
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
|
import type { MDXComponents } from 'mdx/types';
|
|
import * as Python from 'fumadocs-python/components';
|
|
|
|
// use this function to get MDX components, you will need it for rendering MDX
|
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
...Python,
|
|
...components,
|
|
};
|
|
}
|