lib/avo/tab_group.rb in avo-2.13.6.pre.2 vs lib/avo/tab_group.rb in avo-2.14.0
- old
+ new
@@ -5,14 +5,16 @@
class_attribute :item_type, default: :tab_group
attr_reader :view
attr_accessor :index
attr_accessor :items_holder
+ attr_accessor :style
- def initialize(index: 0, view: nil)
+ def initialize(index: 0, view: nil, style: nil)
@index = index
@items_holder = Avo::ItemsHolder.new
@view = view
+ @style = style
end
def hydrate(view: nil)
@view = view