1.0.3 • Published 7 years ago
autoketing-common v1.0.3
autoketing-help-center
Help Center customize for Autoketing
Install
yarn add autoketing-help-centerUsage
import React, { Component } from 'react'
import HelpCenter from 'autoketing-help-center'
class Example extends Component {
render () {
return (
<HelpCenter />
)
}
}Properties
| Name | Type | Example | Description |
|---|---|---|---|
| document | string | https://google.com | Link document for App |
| video | string | https://www.youtube.com/embed/bM7QcJW68fg | Link video for App |
| shop | string | shop_name | Get shop email and name |
| groupID | number | 42000096826 | GroupID 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.ziphere - Extract and add folder
jsin folderpublic - Edit file
index.htmlin folderpublic- add
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Material+Icons'>inhead - add script before the tag
</body>
- add
<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