@voxgig/podw-next
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Next.js Podmind Widget

Install

  • In your app root directory, run:
npm i @voxgig/podw-next 
  • After the package is installed, import and add the lib component similar to the following:
'use client'
import PodW from '@voxgig/podw-next'

export default function YourComponent() {
  return (
      <PodW apikey="your-api-key" />
  );
}
  • You must pass the following prop:
    • apikey - The API key provided by Voxgig.
  • Highliting the use of the 'use client' directive from React.

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"

Readme

Keywords

none

Package Sidebar

Install

npm i @voxgig/podw-next

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

62.1 kB

Total Files

5

Last publish

Collaborators

  • lmscunha
  • zackbraksa
  • rjrodger