@props(['label', 'icon' => null, 'url' => null]) @php $isButton = $attributes->has('type'); @endphp @if ($isButton) @else merge(['class' => 'flex items-center justify-center gap-1 px-4 py-2 text-center text-black rounded-md bg-yellow-400 hover:bg-yellow-600 transition-all duration-300 ease-in-out']) }}> @isset($icon)
@endisset
{{ $label }}
@endif