1f5c2c8513
Added preview example with Prepr CMS. Working demo at https://next-blog-prepr.vercel.app/
10 lines
246 B
JavaScript
10 lines
246 B
JavaScript
import postStyles from './post-styles.module.css'
|
|
|
|
export default function PostBody({ content }) {
|
|
return (
|
|
<div
|
|
className={`max-w-2xl mx-auto post ${postStyles.post}`}
|
|
dangerouslySetInnerHTML={{ __html: content }}
|
|
/>
|
|
)
|
|
}
|