An open API service indexing awesome lists of open source software.

https://github.com/only-much-louder/react-ouibounce

Displays a dialog/modal to users when leaving your site
https://github.com/only-much-louder/react-ouibounce

javascript jsx react

Last synced: 30 days ago
JSON representation

Displays a dialog/modal to users when leaving your site

Awesome Lists containing this project

README

        

# react-ouibounce

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Wraps the [ouibounce](https://github.com/carlsednaoui/ouibounce) library in a React component.

Ouibounce lets you trigger a UI element (such as a modal) when a user is about to leave the page

Usage
```jsx

import ReactOuibounce from 'react-ouibounce'


Check out this cool offer

```

[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo

[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package

[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo