Class: JetUi::Drawer::FooterComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- JetUi::Drawer::FooterComponent
- Defined in:
- app/components/jet_ui/drawer/footer_component.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(direction: :row, align: :start, justify: :start, bordered: true, **options) ⇒ FooterComponent
constructor
A new instance of FooterComponent.
Constructor Details
#initialize(direction: :row, align: :start, justify: :start, bordered: true, **options) ⇒ FooterComponent
Returns a new instance of FooterComponent.
6 7 8 9 10 11 12 |
# File 'app/components/jet_ui/drawer/footer_component.rb', line 6 def initialize(direction: :row, align: :start, justify: :start, bordered: true, **) @direction = direction @align = align @justify = justify @bordered = bordered @options = end |
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'app/components/jet_ui/drawer/footer_component.rb', line 14 def call content_tag :div, content, class: classes, **@options.except(:class) end |