Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prezly/react-promise-modal

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prezly/react-promise-modal - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

package.json
{
"name": "@prezly/react-promise-modal",
"version": "0.1.0",
"version": "0.2.0",
"description": "The proper (and easy) way of doing modals in React. With Promises.",
"main": "dist/index.js",
"main": "dist/react-promise-modal.js",
"scripts": {

@@ -7,0 +7,0 @@ "dist": "babel src/index.js > dist/react-promise-modal.js",

@@ -25,3 +25,3 @@ # React Promise Modal

```jsx
import reactModal from '@prezly/react-promise-modal`;
import reactModal from '@prezly/react-promise-modal';

@@ -86,3 +86,3 @@ const result = await reactModal(({ show, onSubmit, onDismiss }) => (

<Modal.Body>
An error occured. Can't fix it.
An error occured. Can&lsquo;t fix it.
</Modal.Body>

@@ -89,0 +89,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc