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