app/views/lookbook/previews/panels/_output.html.erb in lookbook-1.0.8 vs app/views/lookbook/previews/panels/_output.html.erb in lookbook-1.1.0
- old
+ new
@@ -1,5 +1,5 @@
-<%= render_component :code, line_numbers: true, full_height: true do -%>
+<%= lookbook_render :code, line_numbers: true, full_height: true do -%>
<% if examples.many? -%>
<% examples.each do |example| -%><%== "<!-- #{example.label} -->\n#{beautify(example.output)}\n\n" -%><% end %>
<%- else -%>
<%== beautify(examples.first.output) -%>
<%- end %>
\ No newline at end of file