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

https://github.com/stemmlerjs/react-exit-modal

A modal that triggers upon exit
https://github.com/stemmlerjs/react-exit-modal

cta marketing-automation modal popup

Last synced: about 2 months ago
JSON representation

A modal that triggers upon exit

Awesome Lists containing this project

README

        

# react-exit-modal

> A modal that triggers when you exit the window.

[![NPM](https://img.shields.io/npm/v/react-exit-modal.svg)](https://www.npmjs.com/package/react-exit-modal) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-exit-modal
```

## Usage

```jsx
import React, { Component } from 'react'

import { ExitModal, ExitModalAnimations } from 'react-exit-modal'
import 'rodal/lib/rodal.css';

class Example extends Component {
render () {
return (

Your content


)
}
}
```

## License

MIT © [stemmlerjs](https://github.com/stemmlerjs)