mirror of
https://github.com/owncast/owncast.git
synced 2024-12-21 16:54:46 +03:00
4 lines
150 B
TypeScript
4 lines
150 B
TypeScript
/* eslint-disable react/no-danger */
|
|
export const HtmlComment = ({ text }) => (
|
|
<div dangerouslySetInnerHTML={{ __html: `<!-- ${text} -->` }} />
|
|
);
|