lib/lookbook/preview_group.rb in lookbook-0.4.6 vs lib/lookbook/preview_group.rb in lookbook-0.4.7
- old
+ new
@@ -25,10 +25,14 @@
def type
:group
end
def params
- []
+ examples.map(&:params).flatten.uniq { |param| param[:name] }
+ end
+
+ def display_params
+ {}
end
def hidden?
false
end