@puzzlelabs/puzzle-glossary-react
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

Puzzle Glossary

Puzzle Labs is an AI content workflow engine. It lies at the intersection of people, processes, and technology used to improve teams’ content workflows. Teams get a 10x accelerating boost to their content operations processes by using Puzzle.

Recommended Install

npm install @puzzlelabs/puzzle-glossary-react
import { HighlightWidget } from "@puzzlelabs/puzzle-glossary-react";
import '@puzzlelabs/puzzle-glossary/dist/puzzle-glossary/puzzle-glossary.css';

    <HighlightWidget 
        apiKey="my api key" 
        config={{
            puzzleBranding: false,
            shareSocialMedia: false,
            hasMarkAll: true,
            selectors: ['div.example', 'body', 'nav'],
            theme: {
              marker: {
                //CSS Properties
                backgroundColor: '#b2d7ff',
                color: '#b51235'
              }
            }
            onCopy: (event: MouseEvent, conceptName: string) => {}
            onHover: (event: Event, conceptName: string) => {}
            onResourceClick: (event: MouseEvent, conceptName: string, resource: IResource) => {}
            }} 
    />

Ignore Marker class: puzzle-ignore

Readme

Keywords

none

Package Sidebar

Install

npm i @puzzlelabs/puzzle-glossary-react@0.1.8

Version

0.1.8

License

MIT

Unpacked Size

58.1 kB

Total Files

15

Last publish

Collaborators

  • kyrylo_petkov
  • mahabbatdev
  • anaptfox