app/components/lookbook/page_tabs/component.rb in lookbook-1.0.0.beta.2 vs app/components/lookbook/page_tabs/component.rb in lookbook-1.0.0.beta.3

- old
+ new

@@ -1,6 +1,6 @@ module Lookbook - class PageTabs::Component < Lookbook::Component + class PageTabs::Component < Lookbook::BaseComponent renders_many :tabs, ->(**attrs, &block) do @tabs ||= [] attrs[:content] = capture(&block) attrs[:markdown] ||= @markdown @tabs << attrs