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.16532latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.16532
2.0.145
2.0.132
2.0.1219
2.0.112
2.0.102
2.0.9370
2.0.82
2.0.72
2.0.62
2.0.54
2.0.42
2.0.32
2.0.23
1.0.62
1.0.52
1.0.42
1.0.23
1.0.12
1.0.02

Package Sidebar

Install

npm i react-html-comment

Weekly Downloads

962

Version

2.0.16

License

MIT

Unpacked Size

186 kB

Total Files

10

Last publish

Collaborators

  • zneider