Class: JetUi::Table::TheadComponent

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

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ TheadComponent

Returns a new instance of TheadComponent.



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

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

Instance Method Details

#callObject



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

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