{{-- contoh penggunaan: Simpan --}} @props([ 'url' => null, 'class' => 'btn btn-danger', 'title' => 'Apakah Anda yakin?', 'text' => 'Data ini akan dihapus!', 'icon' => 'warning', 'positive' => 'Ya, hapus!', 'negative' => 'Batal', ]) merge(['class' => $class . ' confirm-button']) }} data-url="{{ $url }}" data-title="{{ $title }}" data-text="{{ $text }}" data-icon="{{ $icon }}" data-positive="{{ $positive }}" data-negative="{{ $negative }}"> {{ $slot }} @pushOnce('style') @endPushOnce @pushOnce('script') @endPushOnce