Skip to content

Commit 93e5cff

Browse files
committed
Bruker LinkIcon
1 parent e5cbdbc commit 93e5cff

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

public/gfx/link.svg

-5
This file was deleted.

src/components/_common/copyLink/copyLink.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { usePageConfig } from 'store/hooks/usePageConfig';
55
import { AnalyticsEvents, logAmplitudeEvent } from 'utils/amplitude';
66
import { useLayoutConfig } from '../../layouts/useLayoutConfig';
77
import { CopyButton } from "@navikt/ds-react";
8+
import { LinkIcon } from "@navikt/aksel-icons";
89

910
import style from './copyLink.module.scss';
1011

@@ -42,6 +43,7 @@ export const CopyLink = ({ anchor, heading, label, className }: CopyLinkProps) =
4243
className={classNames(className, style.copyLink)}
4344
variant="action"
4445
size="small"
46+
icon={<LinkIcon aria-hidden />}
4547
text={label || getLabel('copyLink')}
4648
aria-label={`${getLabel('copyLinkTo')}: "${heading}"`}
4749
activeText={getLabel('copiedLinkConfirmed')}

0 commit comments

Comments
 (0)