@props(['link'=>null, 'padding' => 'px-3'])
@php
$attributes = $attributes->merge([
'class' => "text-white bg-gray-600 hover:bg-gray-800 focus:ring-4 focus:outline-none disabled:bg-gray-300
focus:ring-primary-300 font-medium rounded-lg text-sm py-2 text-center {$padding}"
])
@endphp
@if($link)
{{ $slot }}
@else
@endif