@props(['value', 'required' => false, 'type' => '']) @php // Determine the class to be added based on the type $labelClass = $type === 'checkbox' ? 'form-check-label' : 'form-label'; @endphp