Socket
Socket
Sign inDemoInstall

@papercups-io/chat-widget

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@papercups-io/chat-widget

Papercups chat widget


Version published
Weekly downloads
1.6K
decreased by-17.34%
Maintainers
1
Weekly downloads
 
Created
Source

@papercups-io/chat-widget

Papercups chat widget

NPM JavaScript Style Guide

Install

npm install --save @papercups-io/chat-widget

Usage

First, sign up at https://www.papercups.io/register to get your account token.

This is what you will use to pass in as the accountId prop below:

import React from 'react';

import ChatWidget from '@papercups-io/chat-widget';
import '@papercups-io/chat-widget/dist/index.css';

const ExamplePage = () => {
  return (
    <>
      {/*
        Put <ChatWidget /> at the bottom of whatever pages you would
        like to render the widget on, or in your root/router component
        if you would like it to render on every page
      */}
      <ChatWidget accountId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx' />;
    </>
  );
};

License

MIT © reichert621

FAQs

Package last updated on 17 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc