12 lines
273 B
PHP
12 lines
273 B
PHP
<span {{ $attributes->merge() }}>
|
|
@if ($icon)
|
|
<x-dynamic-component
|
|
:component="WireUi::component('icon')"
|
|
:name="$icon"
|
|
class="{{ $iconSize }} shrink-0"
|
|
/>
|
|
@else
|
|
{!! $label ?? $slot !!}
|
|
@endif
|
|
</span>
|