@props([
    'type' => 'Item',
    'id' => '',
    'viewHref' => null,
    'deleteUrl' => null,
    'modal' => 'actionsModal',
])

<button type="button"
        data-bs-toggle="modal"
        data-bs-target="#{{ $modal }}"
        data-item-type="{{ $type }}"
        data-item-id="{{ $id }}"
        @if ($viewHref) data-view-href="{{ $viewHref }}" @endif
        @if ($deleteUrl) data-delete-url="{{ $deleteUrl }}" @endif
        {{ $attributes->class(['btn btn-sm btn-outline-primary js-open-actions']) }}>
    <i class="fe fe-more-vertical"></i>
</button>
