1.0.3 • Published 6 years ago

autoketing-common v1.0.3

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

autoketing-help-center

Help Center customize for Autoketing

Install

yarn add autoketing-help-center

Usage

import React, { Component } from 'react'

import HelpCenter from 'autoketing-help-center'

class Example extends Component {
  render () {
    return (
      <HelpCenter />
    )
  }
}

Properties

NameTypeExampleDescription
documentstringhttps://google.comLink document for App
videostringhttps://www.youtube.com/embed/bM7QcJW68fgLink video for App
shopstringshop_nameGet shop email and name
groupIDnumber42000096826GroupID for Freshdesk

Example

<HelpCenter 
  document="https://freshdesk.com" 
  video="https://www.youtube.com/embed/Wb5-XH2pkSw"
  shop
  groupID={42000096826}
/>

How to Setup

  • Download file js.zip here
  • Extract and add folder js in folder public
  • Edit file index.html in folder public
    • add <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Material+Icons'> in head
    • add script before the tag </body>
  <script src="/js/drift.js"></script>
  <script src="/js/jquery-3.3.1.min.js"></script>
  <script src="/js/custom-materialize.min.js"></script>

License

MIT © 2018 by Autoketing