@props(['link'=>null, 'hasShadow' => true])
@php
$class = "text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 disabled:bg-gray-300 disabled:text-white
focus:outline-none focus:ring-0 focus:border-blue-600
hover:text-primary-900 focus:ring-primary-200 rounded-lg text-sm px-3 py-2 text-center";
if ($hasShadow) {
$class .= ' shadow';
}
$attributes = $attributes->merge([
'class' => $class,
])
@endphp
@if($link)
{{ $slot }}
@else
@endif