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

- old
+ new

@@ -1,6 +1,6 @@ module Lookbook - class Tabs::Component < Lookbook::Component + class Tabs::Component < Lookbook::BaseComponent renders_many :tabs, ->(**attrs) do @tab_counter += 1 attrs[:name] ||= "tab-#{@tab_counter}" attrs[:position] ||= @tab_counter attrs[:theme] ||= @theme