app/views/lookbook/index.html.erb in lookbook-1.0.0.beta.2 vs app/views/lookbook/index.html.erb in lookbook-1.0.0.beta.3
- old
+ new
@@ -1,8 +1,8 @@
<div id="welcome-message" class="flex flex-col h-full w-full">
<div class="flex flex-col items-center justify-center h-full">
<div class="p-4 text-center mx-auto">
- <%= render_component :icon, name: :layers, size: 10, class: "opacity-30 mx-auto" %>
+ <%= icon :layers, size: 10, class: "opacity-30 mx-auto" %>
<div class="mt-6 text-base opacity-40">
<% if Lookbook.previews.any? %>
<h5>Select a preview to get started</h5>
<% else %>
<p>Create a <a href="https://viewcomponent.org/guide/previews.html" target="_blank">preview file</a> to get started.</p>
\ No newline at end of file