Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

steve-jr/tawkto-react

Repository files navigation

tawkto-react

A simple wrapper around tawk.to JS API to help integrate chat into any application that is based on the react framework

Installation

npm install tawkto-react --save

Usage

This package is simple react wrapper around the tawk.to JS API. Explore the Tawk JS API as you wish.

Please consider migrating to the latest version and fetch the propertyId and tawkId from your account

Screenshot

class component

import TawkTo from 'tawkto-react'
componentDidMount()
{
 var tawk = new TawkTo(propertyId, tawkId)
 tawk.hideWidget()
}

functional component

import TawkTo from 'tawkto-react'
useEffect(() => {
 
 var tawk = new TawkTo(propertyId, tawkId)
 tawk.onStatusChange((status) => 
 {
 // console.log(status)
 })
}, [])

License

MIT

Authors

  • Stephen Ibeh

About

Repo will not be maintained any further. Kindly refer to Tawk official plugin πŸ‘‹πŸΌ

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /