@props([ 'action' => null, ]) @if ($attributes->has('href')) except('class') }} class="w-full bg-white border border-gray-200 rounded py-2 px-4 inline-flex justify-center text-lg leading-6 text-gray-900 hover:bg-gray-100"> {{ $slot }} @elseif ($action)
@csrf @method('POST')
@else @endif