personal-website/components/server/Prose.tsx
Filipe Medeiros 5ff4edc634
feat: lots of stuff sorry
Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
2023-12-03 12:25:54 +01:00

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>
)
}