@comicrelief/component-library 8.53.1 → 8.53.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.
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import Picture from '../../../Atoms/Picture/Picture';
4
+ import Link from '../../../Atoms/Link/Link';
4
5
  import ArrowIcon from './_ArrowIcon';
5
6
  import altCtaUnderline from '../../../../theme/shared/assets/alt_cta_underline.svg';
6
7
  import {
@@ -51,7 +52,7 @@ const CTACard = ({
51
52
  columns={columns}
52
53
  >
53
54
  <CardLink
54
- as={hasLink ? 'a' : 'div'}
55
+ as={hasLink ? Link : 'div'}
55
56
  {...(hasLink ? { href: link, target, rel: external } : {})}
56
57
  isCarousel={isCarousel}
57
58
  isSingleCard={isSingleCard}