https://github.com/d8corp/react-mobx-routing-modal
https://github.com/d8corp/react-mobx-routing-modal
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/d8corp/react-mobx-routing-modal
- Owner: d8corp
- License: mit
- Created: 2020-10-04T11:52:20.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-04T18:00:31.000Z (almost 6 years ago)
- Last Synced: 2025-03-21T09:03:58.049Z (over 1 year ago)
- Language: JavaScript
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# react-mobx-routing-modal
[](https://github.com/d8corp/react-mobx-routing-modal/blob/master/CHANGELOG.md)
[](https://www.npmjs.com/package/react-mobx-routing-modal)
[](https://github.com/d8corp/react-mobx-routing-modal/blob/master/LICENSE)
Cool pop-ups related to URL with [React 16.3+](https://reactjs.org) and [Mobx 3+](https://mobx.js.org).
### Installation
npm
```bash
npm i react-mobx-routing-modal
```
yarn
```bash
yarn add react-mobx-routing-modal
```
### Using
All modals should be placed into `Modals`.
```typescript jsx
import RouterModal, {Modals, OpenModal} from 'react-mobx-routing-modal'
import theme from 'react-mobx-modal/theme/default.module.scss'
export default () => (
<>
Open
Test modal
>
)
```
## Issues
If you find a bug, please file an issue on [GitHub](https://github.com/d8corp/react-mobx-routing-modal/issues)
[](https://github.com/d8corp/react-mobx-routing-modal/issues)
> ---
[](https://github.com/d8corp/react-mobx-routing-modal/stargazers)
[](https://github.com/d8corp/react-mobx-routing-modal/watchers)