import { useMDXComponents as getThemeComponents } from 'nextra-theme-blog';
import type { MDXComponents } from 'mdx/types';

// Get the default MDX components
const themeComponents = getThemeComponents();

// Merge components
export function useMDXComponents(components?: MDXComponents) {
    return {
        ...themeComponents,
        ...components
    }
}