Class: Tailwinds::Containers::MainComponent
- Inherits:
-
Tramway::BaseComponent
- Object
- ViewComponent::Base
- Tramway::BaseComponent
- Tailwinds::Containers::MainComponent
- Defined in:
- app/components/tailwinds/containers/main_component.rb
Overview
Main container for tailwind-styled layout
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
#container_classes ⇒ Object
7 8 9 10 11 |
# File 'app/components/tailwinds/containers/main_component.rb', line 7 def container_classes theme_classes( classic: 'bg-gray-900 text-gray-100 shadow-inner' ) end |