Skip to content

Commit

Permalink
feat(link-react): convert icons to pine
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflips committed May 29, 2024
1 parent 4d15f33 commit 944c8ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/sage-react/lib/Link/Link.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export const Link = ({
className={classNames}
{...rest}
>
{icon && (
<pds-icon name={icon} class="sage-link__icon"></pds-icon>
)}
{truncate ? (
<span className="t-sage--truncate">
{children}
Expand All @@ -58,6 +61,9 @@ export const Link = ({
className={classNames}
{...rest}
>
{icon && (
<pds-icon name={icon} class="sage-link__icon"></pds-icon>
)}
{truncate ? (
<span className="t-sage--truncate">
{children}
Expand Down

0 comments on commit 944c8ca

Please sign in to comment.