react-hook-popup
Advanced tools
Comparing version 1.1.0-alpha.1 to 1.1.0-alpha.2
@@ -15,6 +15,6 @@ "use strict"; | ||
react_1.default.createElement("div", { className: "rhp-confirm__actions" }, | ||
react_1.default.createElement("button", { onClick: cancel, className: "rhp-confirm__button--cancel" }, "Cancel"), | ||
react_1.default.createElement("button", { onClick: confirm, className: "rhp-confirm__button--confirm" }, "Confirm"))), | ||
react_1.default.createElement("button", { onClick: cancel, className: "rhp-confirm__button rhp-confirm__button--cancel" }, "Cancel"), | ||
react_1.default.createElement("button", { onClick: confirm, className: "rhp-confirm__button rhp-confirm__button--confirm" }, "Confirm"))), | ||
react_1.default.createElement("div", { className: "rhp-confirm__dimmer" }))); | ||
}; | ||
exports.Confirm = Confirm; |
@@ -23,2 +23,3 @@ "use strict"; | ||
}, []); | ||
console.log(confirmPromise); | ||
return [ | ||
@@ -25,0 +26,0 @@ function (message) { |
{ | ||
"name": "react-hook-popup", | ||
"version": "1.1.0-alpha.1", | ||
"version": "1.1.0-alpha.2", | ||
"description": "Easily manage popups like alerts and modals in React with a single hook", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/aidanjw1/react-hook-popup#readme", |
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
44465
951