mirror of
https://github.com/owncast/owncast.git
synced 2024-11-26 23:24:29 +03:00
9 lines
239 B
TypeScript
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 }} />;
|
|
}
|