@props([
'href' => '#',
'as' => 'a',
'type' => 'button',
'class' => ''
])
@if($as === 'button')
@else
merge([
'class' => 'inline-flex items-center px-4 py-2 bg-primary-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-primary-700 active:bg-primary-900 focus:outline-none focus:border-primary-900 focus:ring focus:ring-primary-300 disabled:opacity-25 transition ' . $class
]) }}
>
{{ $slot }}
@endif