12 lines
361 B
TypeScript
12 lines
361 B
TypeScript
// import type { MDXComponents } from 'mdx/types'; // Commented out due to resolution issue
|
|
import { mdxComponents as registryComponents } from './src/content-engine/registry';
|
|
|
|
export const MDXComponents = registryComponents;
|
|
|
|
export function useMDXComponents(components: any): any {
|
|
return {
|
|
...components,
|
|
...registryComponents,
|
|
};
|
|
}
|