Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{{-- Keadaan kosong standar: ikon, judul, penjelasan, dan aksi (slot). --}}
|
||||
@props(['icon' => 'inbox', 'title', 'description' => null])
|
||||
|
||||
<div {{ $attributes->class('empty') }}>
|
||||
<span class="empty__icon" aria-hidden="true"><x-dynamic-component :component="'heroicon-o-'.$icon" /></span>
|
||||
<p class="empty__title">{{ $title }}</p>
|
||||
@if ($description) <p class="empty__text">{{ $description }}</p> @endif
|
||||
@if (trim((string) $slot) !== '') <div class="empty__actions">{{ $slot }}</div> @endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user