react-html-comment
TypeScript icon, indicating that this package has built-in type declarations

2.0.16 • Public • Published

react-html-comment

Component for writing comments in the HTML

NPM JavaScript Style Guide

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.161,350latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.161,350
2.0.141
2.0.130
2.0.1216
2.0.112
2.0.100
2.0.9268
2.0.80
2.0.70
2.0.60
2.0.50
2.0.40
2.0.30
2.0.20
1.0.60
1.0.50
1.0.40
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i react-html-comment

Weekly Downloads

1,607

Version

2.0.16

License

MIT

Unpacked Size

186 kB

Total Files

10

Last publish

Collaborators

  • zneider