app/components/lookbook/icon/component.html.erb in lookbook-2.3.0 vs app/components/lookbook/icon/component.html.erb in lookbook-2.3.2
- old
+ new
@@ -1,3 +1,5 @@
<%= render_component_tag :i, style: "height: #{size_rems}; width: #{size_rems}; #{@html_attrs[:style]}", class: "icon-stroke-#{stroke}" do %>
- <%= svg %>
-<% end %>
\ No newline at end of file
+ <svg>
+ <use href="/lookbook-assets/img/lucide-sprite.svg#<%= @icon_name %>"></use>
+ </svg>
+<% end %>