@props([ 'actions' => [], 'breadcrumbs' => [], ]) @php // These are passed through in the bag otherwise Laravel converts View objects to strings prematurely. $heading = $attributes->get('heading'); $subheading = $attributes->get('subheading'); $attributes = $attributes->except(['heading', 'subheading']); @endphp
class(['fi-header flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between']) }} >
@if ($breadcrumbs)
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_HEADER_ACTIONS_BEFORE, scopes: $this->getRenderHookScopes()) }} @if ($actions) $breadcrumbs, ]) /> @endif {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_HEADER_ACTIONS_AFTER, scopes: $this->getRenderHookScopes()) }}