mirror of
https://github.com/owncast/owncast.git
synced 2024-12-30 13:08:30 +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} -->` }} />
|
|
);
|