@props([
'showUrl' => null,
'printUrl' => null,
'editUrl' => null,
'deleteUrl' => null,
'itemName' => 'data ini',
'title' => '',
])
merge(['class' => 'inline-flex items-center gap-1.5']) }} @click.stop>
{{-- 1. Tombol Detail / View (Biru) --}}
@if($showUrl)
@endif
{{-- 2. Tombol Cetak / Print (Hijau) --}}
@if($printUrl)
@endif
{{-- 3. Tombol Edit / Ubah (Kuning / Amber) --}}
@if($editUrl)
@endif
{{-- 4. Tombol Hapus / Delete (Merah / Rose) --}}
@if($deleteUrl)
@endif
{{ $slot ?? '' }}