mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-04 13:27:21 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			183 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			183 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/* eslint-disable react/no-danger */
 | 
						|
export const HtmlComment = ({ text }) => (
 | 
						|
  <span style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `\n\n<!-- ${text} -->` }} />
 | 
						|
);
 |