@konoma-development/react-components 0.1.17 → 0.1.18

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.
@@ -23039,6 +23039,7 @@ function Button({
23039
23039
  iconLeftName,
23040
23040
  iconRightPath,
23041
23041
  iconRightName,
23042
+ name,
23042
23043
  onClick
23043
23044
  }) {
23044
23045
  const classes = [classesBase, className];
@@ -23065,7 +23066,7 @@ function Button({
23065
23066
  loadingClasses.push(loadingClassesAlert);
23066
23067
  break;
23067
23068
  }
23068
- return /* @__PURE__ */ jsxs("button", { onClick: async (e) => await onClick?.(e), className: classes.join(" "), disabled, type, children: [
23069
+ return /* @__PURE__ */ jsxs("button", { name, onClick: async (e) => await onClick?.(e), className: classes.join(" "), disabled, type, children: [
23069
23070
  (iconLeftPath || iconLeftName) && /* @__PURE__ */ jsx(Icon, { className: iconLeftClasses, name: iconLeftName, path: iconLeftPath }),
23070
23071
  label && /* @__PURE__ */ jsx("span", { children: label }),
23071
23072
  (iconRightPath || iconRightName) && /* @__PURE__ */ jsx(Icon, { className: iconRightClasses, name: iconRightName, path: iconRightPath }),