@danske/sapphire-react-lab 0.105.1 → 0.105.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.
@@ -919,7 +919,7 @@ const BreadcrumbItemLink = React.forwardRef(function BreadcrumbItemLink2(_a, ref
919
919
  const { styleProps: sapphireStyleProps } = sapphireReact.useSapphireStyleProps(props);
920
920
  const _a2 = sapphireStyleProps, { style, className } = _a2, styleProps = __objRest$l(_a2, ["style", "className"]);
921
921
  const { size } = React.useContext(BreadcrumbsContext);
922
- if (!props.href) {
922
+ if (!props.href && !props.UNSAFE_onClick) {
923
923
  return /* @__PURE__ */ React__default["default"].createElement(BreadcrumbItemStatic, __spreadProps$m(__spreadValues$o({}, props), {
924
924
  size
925
925
  }), children);