{{-- Deprecated alias: use <x-ui.action-modal.trigger /> --}}
@props([
    'type' => 'Item',
    'id' => '',
    'viewHref' => null,
    'deleteUrl' => null,
    'modal' => 'actionsModal',
])

<x-ui.action-modal.trigger
    :entity="$type"
    :record="(string) $id"
    :view-url="$viewHref"
    :delete-url="$deleteUrl"
    :modal="$modal"
    {{ $attributes }}
/>
