react-mobx-modal
v1.0.0-beta1
Published
Popups with React and MobX
Downloads
8
Readme
react-mobx-modal
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