npm.io
1.0.5 • Published 8 years ago

react-dontgo

Licence
MIT
Version
1.0.5
Deps
4
Vulns
0
Weekly
0

React + dont-go = ️

React implementation of dontgo.js

A small client-side library with zero dependencies to change the title and/or favicon of the page when it is inactive.

demo: http://react-dontgo.surge.sh/

️ Install:


npm install react-dontgo --save

... or


yarn add react-dontgo

Usage:

Import

import DontGO from 'react-dontgo';
Render
 return (
    <DontGO
	    title="new title"
	    timeout="1000"
	/>
  )
Further Documentation

https://github.com/tiaanduplessis/dont-go https://tiaanduplessis.github.io/dont-go/

"Legal"

This software is provided as-is, and all that usually lovely stuff.