Class: Tramway::BackButtonComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Tramway::BackButtonComponent
- Defined in:
- app/components/tramway/back_button_component.rb
Overview
Backbutton component
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
#back_button_classes ⇒ Object
6 7 8 9 10 11 |
# File 'app/components/tramway/back_button_component.rb', line 6 def theme_classes( classic: 'btn btn-delete bg-orange-400 hover:bg-orange-200 text-white font-semibold py-2 px-4 ' \ 'rounded-xl ml-2 shadow-md' ) end |