@insforge/react 0.6.6 → 0.6.8

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
@@ -29,7 +29,7 @@ function useNavigationAdapter() {
29
29
  if (!adapter) {
30
30
  return {
31
31
  useSearchParams: () => new URLSearchParams(),
32
- Link: ({ href, children }) => /* @__PURE__ */ jsx("a", { href, children })
32
+ Link: ({ href, children, className }) => /* @__PURE__ */ jsx("a", { href, className, children })
33
33
  };
34
34
  }
35
35
  return adapter;
@@ -1053,7 +1053,7 @@ function AuthOAuthButton({
1053
1053
  style,
1054
1054
  children: [
1055
1055
  loading ? /* @__PURE__ */ jsx(Loader2, { className: "if-oauthButton-icon if-submitButton-spinner", size: 18 }) : /* @__PURE__ */ jsx("span", { className: "if-oauthButton-icon", children: config.svg }),
1056
- getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
1056
+ !loading && getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
1057
1057
  ]
1058
1058
  }
1059
1059
  );