move common dir
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m9s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m9s
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import { MDXRemote } from "remote-mdx/rsc";
|
||||
import { CodeHighlighter } from "@/app/components/code-highlighter";
|
||||
import { Separator } from "@/app/components/ui/separator";
|
||||
import { cn } from "@/common/utils";
|
||||
import { cn } from "@/app/common/utils";
|
||||
import Link from "next/link";
|
||||
import { ReactElement } from "react";
|
||||
|
||||
/**
|
||||
* Create a heading component.
|
||||
@ -50,6 +51,6 @@ const components = {
|
||||
),
|
||||
};
|
||||
|
||||
export function CustomMDX(props: any) {
|
||||
export function CustomMDX(props: any): ReactElement {
|
||||
return <MDXRemote {...props} components={{ ...components, ...(props.components || {}) }} />;
|
||||
}
|
||||
|
Reference in New Issue
Block a user