Class: UI::DialogFooterComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- UI::DialogFooterComponent
- Includes:
- DialogFooterBehavior
- Defined in:
- app/view_components/ui/dialog_footer_component.rb
Overview
Dialog footer component (ViewComponent) Footer section for the dialog
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(classes: "") ⇒ DialogFooterComponent
constructor
A new instance of DialogFooterComponent.
Methods included from DialogFooterBehavior
#dialog_footer_base_classes, #dialog_footer_classes, #dialog_footer_html_attributes
Constructor Details
#initialize(classes: "") ⇒ DialogFooterComponent
Returns a new instance of DialogFooterComponent.
14 15 16 |
# File 'app/view_components/ui/dialog_footer_component.rb', line 14 def initialize(classes: "") @classes = classes end |
Instance Method Details
#call ⇒ Object
18 19 20 |
# File 'app/view_components/ui/dialog_footer_component.rb', line 18 def call content_tag :div, content, ** end |