personal-website/components/server/Prose.tsx

12 lines
267 B
TypeScript
Raw Normal View History

import clsx from 'clsx'
import { type PropsWithChildren } from 'react'
export function Prose({
children,
className,
}: PropsWithChildren<{ className?: string }>) {
return (
<div className={clsx(className, 'prose dark:prose-invert')}>{children}</div>
)
}