mirror of
https://github.com/owncast/owncast.git
synced 2024-12-21 08:49:16 +03:00
11 lines
321 B
TypeScript
11 lines
321 B
TypeScript
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.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />;
|
|
}
|