11 lines
296 B
PHP
11 lines
296 B
PHP
@props([
|
|
'color' => 'gray',
|
|
])
|
|
|
|
<span
|
|
{{ $attributes->class('inline-flex items-center rounded-full px-2.5 py-1 text-xs font-semibold text-white shadow-sm ring-1 ring-white/20') }}
|
|
style="background-color: {{ \Modules\Helpdesk\Support\Color::css($color) }};"
|
|
>
|
|
{{ $slot }}
|
|
</span>
|