shadcn-zod-formkit 3.0.2 → 3.1.0

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/index.cjs CHANGED
@@ -15228,7 +15228,8 @@ var DynamicForm = ({
15228
15228
  debug = false,
15229
15229
  isWrapInWizard = false,
15230
15230
  totalSteps = 0,
15231
- currentStep = 1
15231
+ currentStep = 1,
15232
+ submitBtnIcon = lucideReact.Save
15232
15233
  }) => {
15233
15234
  const [isPending, startTransition] = React3.useTransition();
15234
15235
  const schema = React3.useMemo(() => {
@@ -15303,7 +15304,7 @@ var DynamicForm = ({
15303
15304
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "h-5 w-5 mr-2 animate-spin" })
15304
15305
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15305
15306
  submitBtnLabel,
15306
- (totalSteps == 0 || totalSteps == currentStep) && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Save, { className: "h-5 w-5 mr-2" })
15307
+ (totalSteps == 0 || totalSteps == currentStep) && submitBtnIcon && React3__namespace.default.createElement(submitBtnIcon, { className: "h-5 w-5 mr-2" })
15307
15308
  ] })
15308
15309
  }
15309
15310
  )