lib/lookbook/preview.rb in lookbook-2.1.1 vs lib/lookbook/preview.rb in lookbook-2.2.0

- old
+ new

@@ -9,9 +9,10 @@ { type: :view, template: args[:template] || Lookbook.config.preview_template, args: args, locals: args[:locals] || {}, + assigns: args[:assigns] || {}, block: block } else { type: component.is_a?(String) ? :view : :component,