{{-- Input Text Component Usage: --}} @props([ 'name', 'label' => null, 'type' => 'text', 'error' => null, 'disabled' => false, ])
@if($label) @endif merge([ 'class' => 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-300 dark:focus:border-primary-500 dark:focus:ring-primary-500 disabled:opacity-50 disabled:cursor-not-allowed' . ($error ? ' border-red-300 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500' : '') ]) }} /> @if($error)

{{ $error }}

@endif