Class: Tramway::Pagination::PageComponent
- Inherits:
-
Base
- Object
- ViewComponent::Base
- BaseComponent
- Base
- Tramway::Pagination::PageComponent
- Defined in:
- app/components/tramway/pagination/page_component.rb
Overview
Kaminari page component for rendering a page button in a pagination
Constant Summary
Constants included from Helpers::ViewsHelper
Helpers::ViewsHelper::FORM_SIZES
Instance Method Summary collapse
Methods inherited from Base
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
#current_page_classes ⇒ Object
9 10 11 12 13 |
# File 'app/components/tramway/pagination/page_component.rb', line 9 def current_page_classes theme_classes( classic: 'px-3 py-2 font-medium rounded-xl text-gray-100 bg-gray-700 shadow-inner' ) end |