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

1.0.2 • Public • Published

Docusaurus Podmind Widget

Install

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

export default function YourComponent() {
  return (
    <PodW
      Head={Head}
      apikey="your-api-key"
     />
  );
}
  • You must pass the following props:
    • Head - Docusaurus Head built-in component.
    • apikey - The API key provided by Voxgig.

Debugging

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

Readme

Keywords

none

Package Sidebar

Install

npm i @voxgig/podw-docusaurus

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

38.7 kB

Total Files

5

Last publish

Collaborators

  • lmscunha
  • zackbraksa
  • rjrodger