@php use Filament\Support\Enums\Alignment; use Filament\Tables\Actions\HeaderActionsPosition; @endphp @props([ 'actions' => [], 'actionsPosition', 'description' => null, 'heading' => null, ])
class([ 'fi-ta-header flex flex-col gap-3 p-4 sm:px-6', 'sm:flex-row sm:items-center' => $actionsPosition === HeaderActionsPosition::Adaptive, ]) }} > @if ($heading || $description)
@if ($heading)

{{ $heading }}

@endif @if ($description)

{{ $description }}

@endif
@endif @if ($actions) $actionsPosition === HeaderActionsPosition::Adaptive && ! ($heading || $description), 'sm:ms-auto' => $actionsPosition === HeaderActionsPosition::Adaptive, ]) /> @endif