app/components/lookbook/icon/component.html.erb in lookbook-2.0.0.beta.4 vs app/components/lookbook/icon/component.html.erb in lookbook-2.0.0.beta.5
- old
+ new
@@ -1,5 +1,3 @@
-<%= render_component_tag :i, style: "height: #{size_rems}; width: #{size_rems}; #{@html_attrs[:style]}" do %>
- <svg stroke-width="<%= stroke %>">
- <use :href="`/lookbook-assets/img/lucide-sprite.svg#${iconName}`" x-cloak />
- </svg>
+<%= 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