Class: Railsboot::Table::RowComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/railsboot/table/row_component.rb

Overview

ViewComponent: renders the row block.

Instance Method Summary collapse

Constructor Details

#initialize(**html_attributes) ⇒ RowComponent

Returns a new instance of RowComponent.

Parameters:

  • html_attributes (Hash)

    additional HTML attributes applied to the rendered row element

Options Hash (**html_attributes):

  • :class (String)

    additional CSS classes, merged with the component's own classes



8
9
10
# File 'app/components/railsboot/table/row_component.rb', line 8

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