mirror of
https://github.com/owncast/owncast.git
synced 2025-11-15 20:18:58 +08:00
5 lines
150 B
TypeScript
5 lines
150 B
TypeScript
/* eslint-disable react/no-danger */
|
|
export const HtmlComment = ({ text }) => (
|
|
<div dangerouslySetInnerHTML={{ __html: `<!-- ${text} -->` }} />
|
|
);
|