docs/components/tabs.rb in phlex-0.4.0 vs docs/components/tabs.rb in phlex-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module Components
- class Tabs < Phlex::View
+ class Tabs < Phlex::HTML
def initialize
@index = 1
end
def template(&block)