Skip to content

Commit

Permalink
Adjustments to linkskomponent
Browse files Browse the repository at this point in the history
Changed arrow from large to small

DDFFORM-97
  • Loading branch information
LasseStaus committed Dec 18, 2023
1 parent 90cb504 commit 63d8319
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stories/Library/link-with-icon/LinkWithIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clsx from "clsx";
import { ReactComponent as ArrowLargeRight } from "../Arrows/icon-arrow-ui/icon-arrow-ui-large-right.svg";
import { ReactComponent as ArrowSmallRight } from "../Arrows/icon-arrow-ui/icon-arrow-ui-small-right.svg";
import { IconType, LinkType } from "./LinkTypes";

export type LinksProps = {
Expand Down Expand Up @@ -36,13 +36,13 @@ export const LinkWithIcon = ({ href, linkText, linkType }: LinksProps) => {
<a
href={href}
target={target}
className={clsx("link-with-icon arrow__hover--right-large")}
className={clsx("link-with-icon arrow__hover--right-small")}
>
<div className={clsx("link-with-icon__icon", linkIconClass)}>
<img className="invert" src={`icons/${folder}/${icon}.svg`} alt="" />
</div>
{linkText}
<ArrowLargeRight />
<ArrowSmallRight />
</a>
);
};

0 comments on commit 63d8319

Please sign in to comment.