@jam-comments/react

A React component for rendering comments from JamComments.

Usage no npm install needed!

<script type="module">
  import jamCommentsReact from 'https://cdn.skypack.dev/@jam-comments/react';
</script>

README

@jam-comments/react

A React component for rendering comments from JamComments.

Installation

npm install @jam-comments/react

Usage

import JamComments from "@jam-comments/react";

export default () => {
  const initialComments = getCommentsSomehow();
  const apiKey = "getthisfromthejamcommentsadmin";
  const domain = "yourdomain.com";

  return (
    <JamComments
      initialComments={initialComments}
      apiKey={apiKey}
      domain={domain}
    />
  );
};