@props([ 'resource' => null, 'icon' => null, 'eyebrow' => null, 'title' => null, 'description' => null, 'headingLevel' => 2, 'compact' => false, ]) @php $hasActions = isset($actions) && trim((string) $actions) !== ''; @endphp
class(['ui-resource-header', 'ui-resource-header--compact' => $compact]) }}> @if ($hasActions)
{{ $actions }}
@endif