@prezly/react-promise-modal
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"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‘t fix it. | ||
</Modal.Body> | ||
@@ -89,0 +89,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13083
9