Class: Tramway::Table::CellComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Tramway::Table::CellComponent
- Defined in:
- app/components/tramway/table/cell_component.rb
Overview
Component for rendering a cell in a table
Constant Summary
Constants included from Helpers::ViewsHelper
Helpers::ViewsHelper::FORM_SIZES
Instance Method Summary collapse
Methods included from Helpers::ViewsHelper
#tramway_back_button, #tramway_badge, #tramway_button, #tramway_cell, #tramway_chat, #tramway_container, #tramway_flash, #tramway_form_for, #tramway_header, #tramway_main_container, #tramway_row, #tramway_table, #tramway_title
Methods included from Helpers::ComponentHelper
Methods included from Helpers::DecorateHelper
Instance Method Details
#cell_classes ⇒ Object
7 8 9 |
# File 'app/components/tramway/table/cell_component.rb', line 7 def cell_classes 'div-table-cell hidden px-6 py-4 text-base font-medium text-zinc-100 first:block md:block' end |