merge($getExtraAttributes(), escape: false)
->class([
'fi-ta-color flex gap-1.5',
'flex-wrap' => $canWrap,
'px-3 py-4' => ! $isInline(),
])
}}
>
@if (count($arrayState = \Illuminate\Support\Arr::wrap($getState())))
@foreach ($arrayState as $state)
@php
$itemIsCopyable = $isCopyable($state);
$copyableState = $getCopyableState($state) ?? $state;
$copyMessage = $getCopyMessage($state);
$copyMessageDuration = $getCopyMessageDuration($state);
@endphp
$itemIsCopyable,
])
@style([
"background-color: {$state}" => $state,
])
>
@endforeach
@elseif (($placeholder = $getPlaceholder()) !== null)
{{ $placeholder }}
@endif