@voxgig/podw-react
v1.1.1
Published
React wrapper to use the Podmind widget
Downloads
9
Readme
React Podmind Widget
Install
- In your app root directory, run:
npm i @voxgig/podw-react
- After the package is installed, import and add the lib component similar to the following:
import PodW from '@voxgig/podw-react'
function YourComponent() {
return (
<PodW
apikey="your-api-key"
/>
)
}
- 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: "20e1a7d5"