Class: Kpop::Modal::FooterComponent

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
Katalyst::HtmlAttributes
Defined in:
app/components/kpop/modal/footer_component.rb

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
# File 'app/components/kpop/modal/footer_component.rb', line 8

def call
  tag.div(content, **html_attributes)
end

#default_html_attributesObject



16
17
18
# File 'app/components/kpop/modal/footer_component.rb', line 16

def default_html_attributes
  { class: "kpop-footer" }
end

#inspectObject



12
13
14
# File 'app/components/kpop/modal/footer_component.rb', line 12

def inspect
  "#<#{self.class.name}>"
end