@props([
'wybrany' => false,
'strzalka' => false,
'href' => null,
])
@php
$klasy = [
'inline-flex h-8 shrink-0 items-center gap-1.5 rounded-lg border pr-2.5 pl-3 text-[14px] leading-[1.4] font-medium whitespace-nowrap',
'border-akcent bg-akcent-tlo text-akcent-tekst' => $wybrany,
'border-obrys bg-powierzchnia text-tekst hover:bg-powierzchnia-2' => ! $wybrany,
];
@endphp
@if ($href)
class($klasy) }}>
{{ $slot }}
@if ($strzalka)
@endif
@else
@endif