Class: LightningUiKit::TableComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- LightningUiKit::TableComponent
- Defined in:
- app/components/lightning_ui_kit/table_component.rb
Instance Method Summary collapse
-
#initialize(data:, actions_title: "Actions", empty_message: "No data available") ⇒ TableComponent
constructor
A new instance of TableComponent.
Methods inherited from BaseComponent
Methods included from HeroiconHelper
Constructor Details
#initialize(data:, actions_title: "Actions", empty_message: "No data available") ⇒ TableComponent
Returns a new instance of TableComponent.
11 12 13 14 15 |
# File 'app/components/lightning_ui_kit/table_component.rb', line 11 def initialize(data:, actions_title: "Actions", empty_message: "No data available") @data = data @actions_title = actions_title @empty_message = end |