owncast/web/components/CustomPageContent.tsx

10 lines
239 B
TypeScript
Raw Normal View History

interface Props {
content: string;
}
export default function CustomPageContent(props: Props) {
const { content } = props;
2022-05-12 08:31:31 +02:00
// eslint-disable-next-line react/no-danger
return <div dangerouslySetInnerHTML={{ __html: content }} />;
}