Livewire UI installed

This commit is contained in:
Benjamin Takats
2022-11-30 00:04:07 +01:00
parent 3f5e714177
commit 8f0e818ec9
516 changed files with 3973 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
<span {{ $attributes }}>
@if ($icon)
<x-dynamic-component
:component="WireUi::component('icon')"
:name="$icon"
class="{{ $iconSize }} shrink-0"
/>
@elseif (isset($prepend))
<div {{ $prepend->attributes }}>{{ $prepend }}</div>
@endif
{{ $label ?? $slot }}
@if ($rightIcon)
<x-dynamic-component
:component="WireUi::component('icon')"
:name="$rightIcon"
class="{{ $iconSize }} shrink-0"
/>
@elseif (isset($append))
<div {{ $append->attributes }}>{{ $append }}</div>
@endif
</span>