Class: JetUi::Table::TfootComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/jet_ui/table/tfoot_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ TfootComponent

Returns a new instance of TfootComponent.



6
7
8
# File 'app/components/jet_ui/table/tfoot_component.rb', line 6

def initialize(**options)
  @options = options
end

Instance Method Details

#callObject



10
11
12
# File 'app/components/jet_ui/table/tfoot_component.rb', line 10

def call
   :tfoot, content, class: @options.delete(:class), **@options
end