owncast/web/components/CustomPageContent.tsx
2022-05-11 23:31:31 -07:00

9 lines
239 B
TypeScript

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