a63ac3e715
* TakeShape Example * Fix preview logic * Update README * Fix broken link * Be more clear with the relationship field * Use latest next.js for cms examples * Only show enabled items * Ignore current slug * Fix queries * Add takeshape demo * Added link to blog-starter Co-authored-by: Luis Alvarez D <luis@zeit.co>
12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
import markdownStyles from './markdown-styles.module.css'
|
|
|
|
export default function PostBody({ content }) {
|
|
return (
|
|
<div className="max-w-2xl mx-auto">
|
|
<div
|
|
className={markdownStyles['markdown']}
|
|
dangerouslySetInnerHTML={{ __html: content }}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|