añadir nuevas funcionalidades
This commit is contained in:
11
resources/views/components/tab-button.blade.php
Normal file
11
resources/views/components/tab-button.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@props(['active' => false])
|
||||
|
||||
<button
|
||||
{{ $attributes->merge([
|
||||
'class' => $active
|
||||
? 'border-b-2 border-blue-500 text-blue-600 px-4 py-2 text-sm font-medium'
|
||||
: 'text-gray-500 hover:text-gray-700 hover:border-gray-300 px-4 py-2 text-sm font-medium border-b-2 border-transparent'
|
||||
]) }}
|
||||
>
|
||||
{{ $slot }}
|
||||
</button>
|
||||
Reference in New Issue
Block a user