0.0.8 • Published 3 years ago

use-zendesk-widget v0.0.8

Weekly downloads
18
License
MIT
Repository
github
Last release
3 years ago

use-zendesk-widget

This is the simplest way to add the Zendesk help widget to your React application!

Introduction

This React hook will enable Zendesk's help widget on your application which can support multiple Zendesk products like live chat, contact form, talk, answer bot, and help center. You can easily customize your support experience with additional settings. Definitely checkout the documentation for this widget to better understand all the options available for customization.

Install

yarn add use-zendesk-widget  OR  npm install use-zendesk-widget

Usage

At the root of your application, or really in any place that is hook friendly, drop the hook in with your zendesk key which can be found in your embed code once you're logged into Zendesk admin.

import useZendeskWidget from 'use-zendesk-widget';

const YourApp = () => {
  useZendeskWidget("your-zendesk-key-here", {
    webWidget: {
      color: { theme: '#61dafb' }
    }
  });
  return <h1>Hello World!</h1>
}

Result

Screen Shot 2021-01-15 at 7 39 57 AM

Resources

Zendesk Web Widget Documentation

License

MIT

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago