move common dir
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m9s

This commit is contained in:
Lee
2024-04-20 02:35:52 +01:00
parent 6356be7ac3
commit 18a782243e
36 changed files with 39 additions and 38 deletions

View File

@ -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 || {}) }} />;
}