@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-white rounded-md bg-blue-500 hover:bg-blue-800 transition-all duration-300 ease-in-out']) }}> @isset($icon)
@endisset
{{ $label }}
@endif