mirror of
https://github.com/nicepkg/ai-workflow.git
synced 2026-11-20 20:33:18 +00:00
13 lines
277 B
TypeScript
13 lines
277 B
TypeScript
import { useMDXComponents as getDocsMDXComponents } from "nextra-theme-docs";
|
|
|
|
const docsComponents = getDocsMDXComponents();
|
|
|
|
export function useMDXComponents(
|
|
components?: Record<string, React.ComponentType>,
|
|
) {
|
|
return {
|
|
...docsComponents,
|
|
...components,
|
|
};
|
|
}
|