@props([ 'heading' => null, 'subheading' => null, ]) @php use Filament\Support\Facades\FilamentView; use Filament\Tables\Contracts\HasTable; use Filament\View\PanelsRenderHook; $heading ??= $this->getHeading(); $subheading ??= $this->getSubHeading(); $hasLogo = $this->hasLogo(); @endphp
class(['fi-simple-page']) }}> {{ FilamentView::renderHook(PanelsRenderHook::SIMPLE_PAGE_START, scopes: $this->getRenderHookScopes()) }}
@if (filled($heading) || $hasLogo || filled($subheading)) @endif {{ $slot }}
@if (! $this instanceof HasTable) @endif {{ FilamentView::renderHook(PanelsRenderHook::SIMPLE_PAGE_END, scopes: $this->getRenderHookScopes()) }}