New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@helpscout/beacon-devtools

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helpscout/beacon-devtools

DevTools for Help Scout's Beacon Embed

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
69
increased by18.97%
Maintainers
4
Weekly downloads
 
Created
Source

Beacon DevTools

DevTools for Help Scout's Beacon Embed

Beacon DevTools

Table of contents

  • Installation
  • Usage
  • Demo
  • Props
  • Check out Beacon

Installation

npm install --save-dev @helpscout/beacon-devtools

Usage

Development

import React from 'react'
import BeaconDevTools from '@helpscout/beacon-devtools'

class MyApp extends React.Component {
  render() {
    return (
      <div>
        ...
        <BeaconDevTools />
      </div>
    )
  }
}

In Browser

To add Beacon DevTools to your page, copy/paste the following snippet into your HTML:

<script
  crossorigin
  src="https://unpkg.com/@helpscout/beacon-devtools/dist/beacon-devtools.umd.js"
></script>

Alternatively, you can add this snippet:

<script>
  ;(function() {
    var u =
      'https://unpkg.com/@helpscout/beacon-devtools/dist/beacon-devtools.umd.js'
    var s = document.createElement('script')
    s.type = 'text/javascript'
    s.charset = 'utf-8'
    s.src = u
    document.body.appendChild(s)
  })()
</script>

Demo

Check out the demo on Netlify!

Props

<BeaconDevTools />
PropTypeDefaultDescription
isAutoOpenbooleanfalseAutomatically opens Beacon on load.
beaconIdsArray<Object>[]A collection of Beacon IDs to load into a select.

beaconIds example

const beaconIds = [
  { id: '...', label: 'My Test Beacon 1' },
  { id: '...', label: 'Production Beacon' },
  { id: '...', label: 'Marketing Beacon' },
]

// ...

<BeaconDevTools beaconIds={beaconId} />

Check out Beacon

Beacon is way more than chat.

Say farewell to overwhelming chat volume, staffing nightmares, and frustrated customers abandoned in chat windows. Ready to make your website more helpful?

👉 Check it out

Keywords

FAQs

Package last updated on 18 Mar 2022

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc