@props(['label', 'icon' => null, 'url' => null]) @php $isButton = $attributes->has('type'); @endphp @if ($isButton) @else merge(['class' => 'flex items-center border border-(--button-atas) justify-center gap-1 px-4 py-2 text-center text-white rounded-md bg-gradient-to-t shadow-xs shadow-emerald-950 from-(--button-bawah) to-(--button-atas)']) }}> @isset($icon)
@endisset
{{ $label }}
@endif