@ndla/zendesk
v1.3.14
Published
Zendesk button (and loading) for NDLA
Downloads
254
Keywords
Readme
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>;