1.0.0-beta1 • Published 4 years ago

react-mobx-modal v1.0.0-beta1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-mobx-modal

NPM downloads license
Cool popups with React 16.3 and Mobx 3 and more.

Installation

npm

npm i react-mobx-modal

yarn

yarn add react-mobx-modal

Using

All modals should be placed into Modals.

import Modal, {Modals} from 'react-mobx-modal'
import theme from 'react-mobx-modal/theme/default.module.scss'

export default () => (
  <Modals className={theme.modules}>
    <Modal delay={300} classNames={theme}>
      Test modal
    </Modal>
  </Modals>
)

Issues

If you find a bug, please file an issue on GitHub
issues


stars watchers