Class: UI::SheetFooterComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- UI::SheetFooterComponent
- Includes:
- SheetFooterBehavior
- Defined in:
- app/view_components/ui/sheet_footer_component.rb
Overview
Sheet footer component (ViewComponent)
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(classes: "") ⇒ SheetFooterComponent
constructor
A new instance of SheetFooterComponent.
Methods included from SheetFooterBehavior
#sheet_footer_base_classes, #sheet_footer_classes, #sheet_footer_html_attributes
Constructor Details
#initialize(classes: "") ⇒ SheetFooterComponent
Returns a new instance of SheetFooterComponent.
14 15 16 |
# File 'app/view_components/ui/sheet_footer_component.rb', line 14 def initialize(classes: "") @classes = classes end |
Instance Method Details
#call ⇒ Object
18 19 20 |
# File 'app/view_components/ui/sheet_footer_component.rb', line 18 def call content_tag :div, content, ** end |