<ol class="dd-list">
    @foreach($items as $item)
    <li class="dd-item" data-id="{{$item['id']}}">
        <div class="pull-right item_actions">
            <div class="removeButton btn btn-sm btn-danger float-right delete" data-action="removeRow">
                <i class="voyager-trash"></i> {{__('delete')}}
            </div>
            <a href="{{ route('menu.edit',['menu'=> $item['id']]) }}" class="btn btn-sm btn-primary float-right edit">
                <i class="voyager-edit"></i> {{__('update')}}
            </a>
        </div>
        <div class="dd-handle">
            <span>{{ __($item['title']) }}</span> <small class="url">{{$item['uri']}}</small>
        </div>
        @if(count($item['children']))
        <x-menu :items="$item['children']" />
        @endif
    </li>
    @endforeach
</ol>