mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
13 lines
402 B
TypeScript
13 lines
402 B
TypeScript
/* eslint-disable react/no-danger */
|
|
import { FC } from 'react';
|
|
import styles from './CustomPageContent.module.scss';
|
|
|
|
export type CustomPageContentProps = {
|
|
content: string;
|
|
};
|
|
|
|
export const CustomPageContent: FC<CustomPageContentProps> = ({ content }) => (
|
|
<div id="custom-page-content">
|
|
<div className={styles.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />
|
|
</div>
|
|
);
|