mirror of
https://github.com/owncast/owncast.git
synced 2025-01-05 08:07:58 +03:00
16 lines
426 B
TypeScript
16 lines
426 B
TypeScript
/* 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>
|
|
);
|
|
}
|