Class: Tailwinds::TableComponent
- Inherits:
-
Tramway::BaseComponent
- Object
- ViewComponent::Base
- Tramway::BaseComponent
- Tailwinds::TableComponent
- Defined in:
- app/components/tailwinds/table_component.rb
Overview
Table component for rendering a table
Constant Summary
Constants included from Tramway::Helpers::ViewsHelper
Tramway::Helpers::ViewsHelper::FORM_SIZES
Instance Method Summary collapse
Methods included from Tramway::Helpers::ViewsHelper
#tramway_back_button, #tramway_badge, #tramway_button, #tramway_cell, #tramway_container, #tramway_flash, #tramway_form_for, #tramway_header, #tramway_main_container, #tramway_row, #tramway_table, #tramway_title
Methods included from Tramway::Helpers::ComponentHelper
Methods included from Tramway::Helpers::DecorateHelper
Instance Method Details
#table_classes ⇒ Object
8 9 10 11 12 |
# File 'app/components/tailwinds/table_component.rb', line 8 def table_classes theme_classes( classic: 'div-table text-left rtl:text-right text-gray-300' ) end |