Skip to content

Commit

Permalink
🎨 take back (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorghildSelle authored Jan 21, 2025
1 parent 435b624 commit 83016e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/core/Link/ResourceLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ArrowRight } from '../../icons'
import envisTwMerge from '../../twMerge'
import { TransformableIcon } from '../../icons/TransformableIcon'
import { add, calendar } from '@equinor/eds-icons'
import { PiFilePdfThin } from 'react-icons/pi'

export type Variants = 'default' | 'fit'

Expand Down Expand Up @@ -126,6 +127,7 @@ export const ResourceLink = forwardRef<HTMLAnchorElement, ResourceLinkProps>(fun
case 'downloadableFile':
return extension && extension.toUpperCase() === 'PDF' && showExtensionIcon ? (
<>
<PiFilePdfThin size={24} className="mr-2" />
<div
className={textClassNames}
{...(ariaHideText && {
Expand Down

0 comments on commit 83016e7

Please sign in to comment.