d3704a66f8
* added graphcms * Updated readme and environment variables * Removed gitignore * Updated tailwind config * Some fixes in pages * Updated api endpoints * lint fix * Updated readme * Updated og image * Updated cms examples to include this one * Added example to docs * Added preview demo link * Updated step Co-authored-by: Luis Alvarez <luis@vercel.com>
10 lines
252 B
JavaScript
10 lines
252 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?.html }}
|
|
/>
|
|
)
|
|
}
|