Skip to content

vwedesam/react-use-tawk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

React Use Tawk

react integration for tawk.to

Tawk.to is a Web Chat platform that allows site users to communicate instantly with your business.

Installation

    /~$ npm install react-use-tawk

Usage

react-use-tawk should be used outside react hooks

this also works for Next.js

    import React from "react";
    import reactUseTawk from "react-use-tawk";

    const tawk_url = process.env.TAWK_URL;

    function App({props}) {

        reactUseTawk(tawk_url);

        return (
            <div>
            // code goes here
            </div>
        );

    }

About

react integration for tawk.to

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published