react-formrun
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,3 +9,3 @@ "use strict"; | ||
const src_1 = require("../src"); | ||
exports.Example = ({ data }) => { | ||
const Example = ({ data }) => { | ||
const { initFormrun, getFormrun } = src_1.useFormrun({ className: ".formrun-embed", type: "embed" }, [data]); | ||
@@ -18,1 +18,2 @@ src_1.useFormrun({ className: ".formrun", type: "default" }); | ||
}; | ||
exports.Example = Example; |
@@ -9,3 +9,3 @@ "use strict"; | ||
}; | ||
exports.useFormrun = (config = defaultConfig, deps) => { | ||
const useFormrun = (config = defaultConfig, deps) => { | ||
const getFormrun = react_1.useCallback(() => { | ||
@@ -62,1 +62,2 @@ if (typeof window !== 'undefined') { | ||
}; | ||
exports.useFormrun = useFormrun; |
{ | ||
"name": "react-formrun", | ||
"description": "Easy to use formrun with React Hooks.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
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
8449
218