@oliasoft-open-source/react-ui-library 4.7.8-beta-2 → 4.7.8-beta-3

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.js CHANGED
@@ -4133,10 +4133,10 @@ const Button$1 = ({
4133
4133
  }
4134
4134
  return "";
4135
4135
  })();
4136
- const RenderComponent = Component2 === "button" && url ? "a" : Component2;
4137
4136
  return /* @__PURE__ */ jsx(ButtonTooltipWrapper, { tooltip: tooltip2, children: /* @__PURE__ */ jsxs(
4138
- RenderComponent,
4137
+ Component2,
4139
4138
  {
4139
+ component: "span",
4140
4140
  type: type === ButtonType.SUBMIT ? ButtonType.SUBMIT : ButtonType.BUTTON,
4141
4141
  className: cx$2(
4142
4142
  buttonStyles.button,