portfolio/components/ui/Prose.tsx

9 lines
254 B
TypeScript
Raw Normal View History

2023-01-14 19:31:05 +00:00
import {ReactNode} from 'react'
import clsx from 'clsx'
export function Prose({children, className}: { children: ReactNode, className: string }) {
return (
<div className={clsx(className, 'prose dark:prose-invert')}>{children}</div>
)
}