react-html-comment
v2.0.16
Published
Component for writing comments in the HTML
Downloads
5,957
Maintainers
Readme
react-html-comment
Component for writing comments in the HTML
Install
npm install --save react-html-comment
yarn add react-html-comment
Usage
import React from 'react';
import HTMLComment from 'react-html-comment';
class Example extends React.Component {
render() {
return <HTMLComment text="this is an html comment" />;
}
}
Output in source:
...
<!--this is an html comment-->
...
License
MIT © Zneider