@arudovwen/form-builder-react 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/form-builder.es.js
CHANGED
|
@@ -37032,15 +37032,15 @@ function lN({
|
|
|
37032
37032
|
}) {
|
|
37033
37033
|
const { addSection: a, formData: i } = rt(zr), [s, o] = Oe(!1);
|
|
37034
37034
|
function l() {
|
|
37035
|
-
localStorage.setItem("formData", JSON.stringify(i)), t(i);
|
|
37035
|
+
localStorage.setItem("formData", JSON.stringify(i)), t == null || t(i);
|
|
37036
37036
|
}
|
|
37037
37037
|
function c() {
|
|
37038
|
-
localStorage.setItem("formData", JSON.stringify(i)), n(i);
|
|
37038
|
+
localStorage.setItem("formData", JSON.stringify(i)), n == null || n(i);
|
|
37039
37039
|
}
|
|
37040
37040
|
return /* @__PURE__ */ T.jsxs("div", { className: "px-[30px] py-3 flex justify-between items-center bg-[#F9F9FB] top_bar", children: [
|
|
37041
37041
|
/* @__PURE__ */ T.jsxs("span", { className: "flex items-center gap-x-[6px]", children: [
|
|
37042
37042
|
" ",
|
|
37043
|
-
|
|
37043
|
+
r && /* @__PURE__ */ T.jsx(
|
|
37044
37044
|
"button",
|
|
37045
37045
|
{
|
|
37046
37046
|
type: "button",
|