@props(['component'])

@php
    $refresh = $this->getRefreshStatus();
    $theme = $component->getTheme();
@endphp

<div
        {{ $attributes->merge($this->getComponentWrapperAttributes()) }}

        @if ($component->hasRefresh())
        wire:poll{{ $component->getRefreshOptions() }}
        @endif

        @if ($component->isFilterLayoutSlideDown())
        x-data="{ filtersOpen: false }"
        @endif
>
    @include('livewire-tables::includes.debug')
    @include('livewire-tables::includes.offline')

    {{ $slot }}
</div>
