@php use Filament\Tables\Enums\FiltersLayout; @endphp @props([ 'activeFiltersCount' => 0, 'applyAction', 'form', 'layout', 'maxHeight' => null, 'triggerAction', 'width' => 'xs', ]) @if (($layout === FiltersLayout::Modal) || $triggerAction->isModalSlideOver()) class(['fi-ta-filters-modal']) }} > {{ $triggerAction->badge($activeFiltersCount) }} {{ $triggerAction->getModalContent() }} {{ $form }} {{ $triggerAction->getModalContentFooter() }} @else class(['fi-ta-filters-dropdown']) }} > {{ $triggerAction->badge($activeFiltersCount) }} @endif