@ndla/zendesk
TypeScript icon, indicating that this package has built-in type declarations

1.3.14 • Public • Published

Zendesk

Exports a Zendesk button which should ideally be placed in the packages/ndla-ui/src/Footer/Footer.jsx component. The component also ensures that required zendesk script(s) are loaded asynchronously

Installation

$ yarn @ndla/zendesk

Usage

Simple example with required props

import Zendesk from "@ndla/zendesk";

<Footer>
  <ZendeskButton locale="nb" widgetKey="a393e616-39d91">
    Spør NDLA
  </ZendeskButton>
</Footer>;

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @ndla/zendesk

    Weekly Downloads

    7

    Version

    1.3.14

    License

    GPL-3.0

    Unpacked Size

    56.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • kronen_ki
    • rauboti
    • mapoken
    • katrinewi
    • ndlauser
    • jonasc-knowit
    • gunnarvelle
    • jnatten