mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-04 05:17:27 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			402 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			14 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>
 | 
						|
);
 |