Skip to content

Zneider/react-html-comment

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published