Class: Tramway::Containers::NarrowComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Tramway::Containers::NarrowComponent
- Defined in:
- app/components/tramway/containers/narrow_component.rb
Overview
Default page container in Tramway
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
#container_classes ⇒ Object
10 11 12 13 14 15 |
# File 'app/components/tramway/containers/narrow_component.rb', line 10 def container_classes theme_classes( classic: 'container p-4 flex align-center justify-center w-full mx-auto bg-gray-100 text-gray-700 ' \ 'shadow-inner rounded-xl bg-gray-900 text-gray-100' ) end |