2023-01-12 05:26:54 +03:00
|
|
|
/* eslint-disable react/no-danger */
|
|
|
|
export const HtmlComment = ({ text }) => (
|
2023-01-12 10:50:26 +03:00
|
|
|
<span style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `\n\n<!-- ${text} -->` }} />
|
2023-01-12 05:26:54 +03:00
|
|
|
);
|