{{-- Section Header Component - AdminLTE style Usage: Action --}} @props([ 'title', 'subtitle' => null, 'icon' => null, 'iconColor' => null, 'actions' => null, 'helpText' => null, 'size' => 'lg', ]) @php $titleSizes = [ 'sm' => 'font-size: .875rem; font-weight: 600;', 'md' => 'font-size: 1rem; font-weight: 600;', 'lg' => 'font-size: 1.125rem; font-weight: 600;', 'xl' => 'font-size: 1.25rem; font-weight: 700;', ]; $titleStyle = $titleSizes[$size] ?? $titleSizes['lg']; @endphp
class(['flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between group']) }}>
@if($icon)
@endif

{{ $title }}

@if($helpText)
{{-- Help Modal --}}
@endif
@if($subtitle)

{{ $subtitle }}

@endif
@if($actions)
{{ $actions }}
@endif