@props([ 'actions' => [], 'breadcrumbs' => [], 'heading', 'subheading' => null, ]) @php use Illuminate\View\ComponentSlot; $isHeadingSlot = $heading instanceof ComponentSlot; $navigationIcon = null; if (! $isHeadingSlot) { if (method_exists($this, 'getNavigationIcon')) { $navigationIcon = $this->getNavigationIcon(); } if (blank($navigationIcon) && method_exists($this, 'getResource')) { try { $resource = $this->getResource(); } catch (\Throwable $exception) { $resource = null; } if (is_string($resource) && method_exists($resource, 'getNavigationIcon')) { $navigationIcon = $resource::getNavigationIcon(); } } } @endphp
class(['fi-header flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between']) }} >
@if ($breadcrumbs)
$breadcrumbs, ]) > {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_HEADER_ACTIONS_BEFORE, scopes: $this->getRenderHookScopes()) }} @if ($actions) @endif {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_HEADER_ACTIONS_AFTER, scopes: $this->getRenderHookScopes()) }}