1.0.5 • Published 7 years ago
react-dontgo v1.0.5
⚛️ 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.