12 lines
267 B
TypeScript
12 lines
267 B
TypeScript
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>
|
|
)
|
|
}
|