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
- Host: GitHub
- URL: https://github.com/stemmlerjs/react-exit-modal
- Owner: stemmlerjs
- Created: 2019-05-10T03:51:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T15:28:46.000Z (about 6 years ago)
- Last Synced: 2025-04-03T19:49:33.367Z (2 months ago)
- Topics: cta, marketing-automation, modal, popup
- Language: CSS
- Size: 499 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-exit-modal
> A modal that triggers when you exit the window.
[](https://www.npmjs.com/package/react-exit-modal) [](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)