import type * as React from "react"
import { cn } from "@/lib/utils"
type WithChildren = { children?: React.ReactNode; className?: string }
export const mdxComponents = {
h1: ({ children, className, ...props }: WithChildren) => (
{children}
),
h2: ({ children, className, ...props }: WithChildren) => (
{children}
),
h3: ({ children, className, ...props }: WithChildren) => (
{children}
),
h4: ({ children, className, ...props }: WithChildren) => (
{children}
),
p: ({ children, className, ...props }: WithChildren) => (
{children}
),
a: ({ children, href, className, ...props }: WithChildren & { href?: string }) => (
{children}
),
ul: ({ children, className, ...props }: WithChildren) => (
),
ol: ({ children, className, ...props }: WithChildren) => (
{children}
),
li: ({ children, className, ...props }: WithChildren) => (
{children}
),
blockquote: ({ children, className, ...props }: WithChildren) => (
{children}
),
code: ({ children, className, ...props }: WithChildren) => (
{children}
),
pre: ({ children, className, ...props }: WithChildren) => (
{children}
),
table: ({ children, className, ...props }: WithChildren) => (
),
thead: ({ children, className, ...props }: WithChildren) => (
{children}
),
th: ({ children, className, ...props }: WithChildren) => (
{children}
|
),
td: ({ children, className, ...props }: WithChildren) => (
{children}
|
),
hr: ({ className, ...props }: { className?: string }) => (
),
strong: ({ children, className, ...props }: WithChildren) => (
{children}
),
}