@php $customCaptcha = loadCustomCaptcha(); $googleCaptcha = loadReCaptcha(); @endphp @props(['hasIcon' => false]) @if ($googleCaptcha)
@php echo $googleCaptcha @endphp
@endif @if ($customCaptcha) @if ($hasIcon)
@php echo $customCaptcha @endphp
@else
@php echo $customCaptcha @endphp
@endif @endif @if ($googleCaptcha) @push('script') @endpush @endif