@props([ 'size' => 'md', 'text' => null, ]) @php $sizeClass = match($size) { 'sm' => 'w-4 h-4', 'lg' => 'w-8 h-8', default => 'w-6 h-6', }; @endphp
@if($text) {{ $text }} @endif