Skip to content

Commit

Permalink
feat(navlink): convert rails icon to pine
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflips committed May 23, 2024
1 parent 4fa6976 commit 82539b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ attributes = component.attributes.present? ? component.attributes : {}
%>
<%= link_to component.link, method: component.method, class: "sage-nav__link #{active_class} #{component_class} #{nav_link_icon_class}", **attributes do %>
<% if component.icon %>
<i class="sage-icon-<%= component.icon %> sage-nav__icon"></i>
<pds-icon name="<%= component.icon %>" class="sage-nav__icon"></pds-icon>
<% end %>
<span class="sage-nav__label">
<%= component.text %>
Expand Down

0 comments on commit 82539b0

Please sign in to comment.