@props(['typ' => 'neutralny']) class([ 'inline-flex h-[22px] shrink-0 items-center rounded-md px-2 text-[12px] leading-[1.4] font-medium whitespace-nowrap', 'bg-powierzchnia-2 text-tekst-2' => $typ === 'neutralny', 'bg-sukces-tlo text-sukces-tekst' => $typ === 'sukces', 'bg-ostrzezenie-tlo text-ostrzezenie-tekst' => $typ === 'ostrzezenie', 'bg-akcent-tlo text-akcent-tekst' => $typ === 'akcent', ]) }}>{{ $slot }}