4 lines
148 B
PHP
4 lines
148 B
PHP
@props(['href', 'active' => false])
|
|
|
|
<a href="{{ $href }}" @if ($active) aria-current="page" @endif {{ $attributes->class('tab') }}>{{ $slot }}</a>
|