docs/components/tabs/tab.rb in phlex-0.4.0 vs docs/components/tabs/tab.rb in phlex-0.5.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Components
class Tabs
- class Tab < Phlex::View
+ class Tab < Phlex::HTML
def initialize(name:, checked:)
@name = name
@checked = checked
end