@props(["disabled" => false, "size" => ""]) @php $sizeClasses = match ($size) { "xs" => "text-xs", "sm" => "text-sm", default => "text-base", }; $attributes = $attributes->merge(["class" => "$sizeClasses"]); @endphp