You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
426 B
16 lines
426 B
/* eslint-disable react/no-danger */ |
|
import s from './CustomPageContent.module.scss'; |
|
|
|
interface Props { |
|
content: string; |
|
} |
|
|
|
export default function CustomPageContent(props: Props) { |
|
const { content } = props; |
|
// eslint-disable-next-line react/no-danger |
|
return ( |
|
<div className={s.pageContentContainer}> |
|
<div className={s.customPageContent} dangerouslySetInnerHTML={{ __html: content }} /> |
|
</div> |
|
); |
|
}
|
|
|