Skip to content

Commit

Permalink
feat: plb svg icons added
Browse files Browse the repository at this point in the history
  • Loading branch information
martink-rsa committed Jan 26, 2021
1 parent 26a58d4 commit e5bbfc9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/ProductLinkButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export function ProductLinkButtonPure({
borderHoverColour,
children,
redirectDestination,
svgIcon,
...props
}) {
return (
Expand All @@ -109,6 +110,11 @@ export function ProductLinkButtonPure({
<Image {...icon} />
</div>
)}
{svgIcon && (
<div className="arrow-img arrow-img-svg">
<img src={svgIcon} alt="Right chevron" />
</div>
)}
</Button>
</ProductLink>
)
Expand Down

0 comments on commit e5bbfc9

Please sign in to comment.