mirror of
https://github.com/owncast/owncast.git
synced 2024-12-26 19:18:37 +03:00
13 lines
442 B
TypeScript
13 lines
442 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 className={styles.pageContentContainer} id="custom-page-content">
|
|
<div className={styles.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />
|
|
</div>
|
|
);
|