Class: PhlexyUI::TabWithoutContent

Inherits:
Base
  • Object
show all
Defined in:
lib/phlexy_ui/tab_without_content.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PhlexyUI::Base

Instance Method Details

#view_templateObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/phlexy_ui/tab_without_content.rb', line 6

def view_template(&)
  generate_classes!(
    component_html_class: :tab,
    modifiers_map: modifiers,
    base_modifiers:,
    options:
  ).then do |classes|
    div role: :tab, class: classes, &
  end
end