🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

@voxgig/podw-gatsby

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voxgig/podw-gatsby

Gatsby wrapper to use the Podmind widget

latest
npmnpm
Version
1.0.4
Version published
Maintainers
0
Created
Source

Gatsby Podmind Widget

Install

  • In your app root directory, run:
npm i @voxgig/podw-gatsby
  • After the package is installed, import and add the lib component similar to the following:
import * as React from "react"
import PodW from '@voxgig/podw-gatsby'

const YourComponent = () => {
  return (
      <PodW apikey="your-api-key" />
  )
}

export default YourComponent 
  • You must pass the following prop:
    • apikey - The API key provided by Voxgig.

Debugging

  • To log widget properties, you can pass the prop debug to the lib component:
<PodW
 apikey="your-api-key"
 debug="true"
/>
  • Resulting in a log similar to the following:
apikey: "your-api-key"
debug: true
mark: "20i1a7d5"

FAQs

Package last updated on 17 Jul 2024

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