@aware(['component'])
@props(['rows'])
@php
    $theme = $component->getTheme();
@endphp
@if ($component->hasConfigurableAreaFor('before-pagination'))
    @include($component->getConfigurableAreaFor('before-pagination'), $component->getParametersForConfigurableArea('before-pagination'))
@endif
@if ($theme === 'tailwind')
    
        @if ($component->paginationVisibilityIsEnabled())
            
                
                    @if ($component->paginationIsEnabled() && $rows->lastPage() > 1)
                        
                    @else
                        
                    @endif
                
                @if ($component->paginationIsEnabled())
                    {{ $rows->links('livewire-tables::specific.tailwind.pagination') }}
                @endif
            
 
        @endif
    
        @if ($component->paginationVisibilityIsEnabled())
            @if ($component->paginationIsEnabled() && $rows->lastPage() > 1)
                
                    
                        {{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }}
                    
                    
                        @lang('Showing')
                        {{ $rows->count() ? $rows->firstItem() : 0 }}
                        @lang('to')
                        {{ $rows->count() ? $rows->lastItem() : 0 }}
                        @lang('of')
                        {{ $rows->total() }}
                        @lang('results')
                    
                 
            @else
                
                    
                        @lang('Showing')
                        {{ $rows->count() }}
                        @lang('results')
                    
                 
            @endif
        @endif
    
        @if ($component->paginationVisibilityIsEnabled())
            @if ($component->paginationIsEnabled() && $rows->lastPage() > 1)
                
                    
                        {{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }}
                    
                    
                        @lang('Showing')
                        {{ $rows->count() ? $rows->firstItem() : 0 }}
                        @lang('to')
                        {{ $rows->count() ? $rows->lastItem() : 0 }}
                        @lang('of')
                        {{ $rows->total() }}
                        @lang('results')
                    
                 
            @else
                
                    
                        @lang('Showing')
                        {{ $rows->count() }}
                        @lang('results')
                    
                 
            @endif
        @endif