lib/railties/lib/rails/templates/rails/components/preview.html.erb in actionview-component-1.7.0 vs lib/railties/lib/rails/templates/rails/components/preview.html.erb in actionview-component-1.8.0
- old
+ new
@@ -1 +1 @@
-<%= raw @preview.call(@example_name) %>
+<%= render(@render_args[:component], **@render_args[:args], &@render_args[:block])%>