Class: Kpop::Modal::HeaderComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Kpop::Modal::HeaderComponent
- Includes:
- Katalyst::HtmlAttributes
- Defined in:
- app/components/kpop/modal/header_component.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'app/components/kpop/modal/header_component.rb', line 8 def call tag.div(content, **html_attributes) end |
#default_html_attributes ⇒ Object
16 17 18 |
# File 'app/components/kpop/modal/header_component.rb', line 16 def default_html_attributes { class: "kpop-header" } end |
#inspect ⇒ Object
12 13 14 |
# File 'app/components/kpop/modal/header_component.rb', line 12 def inspect "#<#{self.class.name}>" end |