4
0
forked from crowetic/commerce
2020-10-15 18:42:03 -05:00

17 lines
314 B
TypeScript

import cn from 'classnames'
import s from './PageContent.module.css'
type Props = {
className?: 'string'
html: string
}
export default function PageContent({ className, html }: Props) {
return (
<div
className={cn(s.root, className)}
dangerouslySetInnerHTML={{ __html: html }}
/>
)
}