@php
$prefixLabel = $getPrefixLabel();
$suffixLabel = $getSuffixLabel();
$childComponentContainer = $getChildComponentContainer();
$childComponents = $childComponentContainer->getComponents();
@endphp
class([
'flex items-center gap-x-4',
])
}}
>
@if($prefixLabel)
{{ $prefixLabel }}
@endif
@foreach($childComponents as $component)
@if(count($component->getChildComponents()) > 1)
{{ $component }}
@else
{{ $component }}
@endif
@endforeach
@if($suffixLabel)
{{ $suffixLabel }}
@endif