mirror of
https://github.com/evroon/bracket.git
synced 2026-01-23 05:28:45 -05:00
Use https://github.com/shuding/nextra and https://github.com/leoMirandaa/shadcn-landing-page instead of Docusaurus.
14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { useMDXComponents as getThemeComponents } from "nextra-theme-docs"; // nextra-theme-blog or your custom theme
|
|
|
|
// Get the default MDX components
|
|
const themeComponents = getThemeComponents();
|
|
|
|
// Merge components
|
|
// @ts-expect-error 1231231
|
|
export function useMDXComponents(components) {
|
|
return {
|
|
...themeComponents,
|
|
...components,
|
|
};
|
|
}
|