owncast/web/components/ui/CustomPageContent/CustomPageContent.tsx

12 lines
321 B
TypeScript
Raw Normal View History

import s from './CustomPageContent.module.scss';
interface Props {
content: string;
}
export default function CustomPageContent(props: Props) {
const { content } = props;
2022-05-12 09:31:31 +03:00
// eslint-disable-next-line react/no-danger
return <div className={s.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />;
}