mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
12 lines
271 B
PHP
12 lines
271 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>
|