1.0.2 • Published 5 years ago

react-guidde-widget v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

React Guidde Widget

npm package

We help you to provide all the support your customers need, no more than a click away from them.

🚀 Getting started

First things first. Let's add the widget to your project:

yarn add react-guidde-widget

Then use it in your app:

import React from 'react'
import Guidde from 'react-guidde-widget'

class App extends React.Component {
  render() {
    return (
      <Guidde account="YOUR_ACCOUNT_ID" />
    );
  }
}

⚙️ Props

  • account - required: the account_id of your company;
  • hidden: specifies whether or not the launcher should be hidden in the initial load. The default value is false.

⚡️ Widget Actions

Using this component, you'll also be able to explore actions like:

Guidde.do('toggle')
Guidde.do('navigate', '/send-message')
Guidde.do('recommend-articles', [
  'getting-started', 
  'embedding-our-widget'
])

You can see the whole list of available actions here.