{{-- Toggle/Switch Component - LucentUI Theme Migrated from AdminLTE to Tailwind Usage: --}} @props([ 'label' => null, 'description' => null, 'disabled' => false, ]) only('class')->class([ 'flex items-center justify-between gap-4 cursor-pointer', 'cursor-not-allowed opacity-65' => $disabled, ]) }}> @if($label || $description) @if($label) {{ $label }} @endif @if($description) {{ $description }} @endif @endif whereDoesntStartWith('class')->merge(['disabled' => $disabled]) }} class="peer sr-only" />
{{ $description }}