@watch-state/react-modal
Popups with React and watch-state.
Install
npmnpm i @watch-state/react-modal
yarn
yarn add @watch-state/react-modal
Usage
All modals should be placed intoModals
.
```typescript jsx
import Modal, {Modals} from '@watch-state/react-modal'
import theme from '@watch-state/react-modal/theme/default.module.scss'export default () => (
<Modal delay={300} classNames={theme}>
Test modal
</Modal>
)
```