@props(['title', 'hint' => null]) @php $lead = preg_replace('/\s*\*\s*$/', '', trim($title)); if (! preg_match('/[.!?]$/u', $lead)) { $lead .= '.'; } @endphp

merge(['class' => 'contact-form-section__heading']) }}> {{ $lead }}@if(filled($hint)) {{ $hint }}@endif