@razorpay/blade 8.10.0 → 8.10.1

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.
@@ -19681,6 +19681,7 @@ var _BaseLink = function _BaseLink(_ref3, ref) {
19681
19681
  }
19682
19682
  };
19683
19683
 
19684
+ var asProp = isReactNative$4() ? undefined : 'span';
19684
19685
  return /*#__PURE__*/jsx(StyledLink$1, _objectSpread$11(_objectSpread$11(_objectSpread$11(_objectSpread$11({
19685
19686
  ref: ref
19686
19687
  }, metaAttribute({
@@ -19734,11 +19735,13 @@ var _BaseLink = function _BaseLink(_ref3, ref) {
19734
19735
  hitSlop: hitSlop,
19735
19736
  title: htmlTitle,
19736
19737
  children: /*#__PURE__*/jsxs(BaseBox, {
19738
+ as: asProp,
19737
19739
  display: "flex",
19738
19740
  flexDirection: "row",
19739
19741
  className: "content-container",
19740
19742
  alignItems: "center",
19741
19743
  children: [Icon && iconPosition == 'left' ? /*#__PURE__*/jsx(BaseBox, {
19744
+ as: asProp,
19742
19745
  paddingRight: iconPadding,
19743
19746
  display: "flex",
19744
19747
  alignItems: "center",
@@ -19747,6 +19750,7 @@ var _BaseLink = function _BaseLink(_ref3, ref) {
19747
19750
  size: iconSize
19748
19751
  })
19749
19752
  }) : null, /*#__PURE__*/jsx(BaseText, {
19753
+ as: asProp,
19750
19754
  textDecorationLine: textDecorationLine,
19751
19755
  color: textColor,
19752
19756
  fontSize: fontSize,
@@ -19755,6 +19759,7 @@ var _BaseLink = function _BaseLink(_ref3, ref) {
19755
19759
  fontWeight: "bold",
19756
19760
  children: children
19757
19761
  }), Icon && iconPosition == 'right' ? /*#__PURE__*/jsx(BaseBox, {
19762
+ as: asProp,
19758
19763
  paddingLeft: iconPadding,
19759
19764
  display: "flex",
19760
19765
  alignItems: "center",